Skip to content

Commit

Permalink
Merge pull request #160 from kianmeng/support-latest-elixir-erlang-in-ci
Browse files Browse the repository at this point in the history
Support Elixir 1.17/OTP 27 in CI
  • Loading branch information
akash-akya committed Jul 26, 2024
2 parents b982aa6 + 704b90b commit e5c2a68
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@ jobs:
otp: 26.x
- elixir: 1.16.x
otp: 26.x
- elixir: 1.17.x
otp: 27.x
steps:
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install libvips build dependencies
run: sudo apt-get install build-essential libxml2-dev libfftw3-dev libmagickwand-dev libopenexr-dev liborc-0.4-0 gobject-introspection libgsf-1-dev libglib2.0-dev liborc-0.4-dev curl
Expand All @@ -44,7 +46,7 @@ jobs:
echo "VIPS_LATEST_RELEASE=${VIPS_LATEST_RELEASE}" >> $GITHUB_ENV
- name: Cache libvips artifacts
uses: actions/cache@v3
uses: actions/cache@v4
id: vips-cache
with:
path: vips
Expand All @@ -67,7 +69,7 @@ jobs:
- name: Cache Dependencies
id: mix-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
deps
Expand All @@ -87,8 +89,8 @@ jobs:
strategy:
matrix:
include:
- elixir: 1.16.x
otp: 26.x
- elixir: 1.17.x
otp: 27.x
steps:
- uses: erlef/setup-beam@v1
with:
Expand All @@ -104,8 +106,8 @@ jobs:
strategy:
matrix:
include:
- elixir: 1.16.x
otp: 26.x
- elixir: 1.17.x
otp: 27.x
steps:
- uses: erlef/setup-beam@v1
with:
Expand All @@ -131,19 +133,19 @@ jobs:
strategy:
matrix:
include:
- elixir: 1.16.x
otp: 26.x
- elixir: 1.17.x
otp: 27.x
steps:
- uses: erlef/setup-beam@v1
with:
otp-version: ${{matrix.otp}}
elixir-version: ${{matrix.elixir}}

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Cache Dependencies
id: mix-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
deps
Expand Down

0 comments on commit e5c2a68

Please sign in to comment.