Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
cschmatzler committed Jul 15, 2023
1 parent ab8f567 commit 921f6b7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@ jobs:
strategy:
fail-fast: false
matrix:
ELIXIR_VERSION:
- 1.15.3
- 1.14.5
- 1.13.3
OTP_VERSION:
- 26.0.2
- 25.3.2
- 24.3.4
base:
- 1.15.3-erlang-26.0.2-alpine-3.18.2
- 1.15.3-erlang-25.3.2.2-alpine-3.18.2
- 1.15.3-erlang-24.3.4.9-alpine-3.18.2
- 1.14.5-erlang-26.0.2-alpine-3.18.2
- 1.14.5-erlang-25.3.2.2-alpine-3.18.2
- 1.14.5-erlang-24.3.4.9-alpine-3.18.2
- 1.13.4-erlang-25.3.2.2-alpine-3.18.2
- 1.13.4-erlang-24.3.4.9-alpine-3.18.2

runs-on: ubuntu-22.04
steps:
- name: Checkout
Expand All @@ -27,6 +29,6 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Run Earthly
run: earthly --org cschmatzler --sat github-actions --no-output +lint --ELIXIR_VERSION=${{ matrix.ELIXIR_VERSION }} --OTP_VERSION=${{ matrix.OTP_VERSION }}
run: earthly --org cschmatzler --sat github-actions --no-output +lint --BASE=${{ matrix.base }}
env:
EARTHLY_TOKEN: ${{ secrets.EARTHLY_TOKEN }}
5 changes: 2 additions & 3 deletions Earthfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
VERSION 0.7

ARG --global --required ELIXIR_VERSION
ARG --global --required OTP_VERSION
ARG --global --required BASE

ci:
BUILD +test
BUILD +lint

setup-base:
FROM hexpm/elixir:$ELIXIR_VERSION-erlang-$OTP_VERSION
FROM hexpm/elixir:$BASE

RUN apk add --no-cache build-base git
RUN mix do local.rebar --force, \
Expand Down

0 comments on commit 921f6b7

Please sign in to comment.