Skip to content

Commit

Permalink
WIP Run CI on more OSes and Archs
Browse files Browse the repository at this point in the history
  • Loading branch information
mickel8 committed Jul 27, 2024
1 parent f7b99ff commit 3e37ff3
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: push
jobs:
lint:
runs-on: ubuntu-latest
name: lint OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
name: lint / ubuntu-latest / OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
matrix:
otp: ['25']
Expand All @@ -22,12 +22,13 @@ jobs:
- run: mix docs 2>&1 | (! grep -q "warning:")

test-linux:
runs-on: ubuntu-latest
name: test-linux-x86-64 OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
strategy:
matrix:
os: ['ubuntu-24.04', 'ubuntu-22.04']
otp: ['25']
elixir: ['1.14']
runs-on: ${{ matrix.os }}
name: test-linux-x86-64 / ${{ matrix.os }} / OTP ${{matrix.otp}} / Elixir ${{matrix.elixir}}
env:
MIX_ENV: test
steps:
Expand All @@ -41,12 +42,26 @@ jobs:
- run: mix test

test-macos:
runs-on: macos-latest
name: test-macos-x86-64 OTP latest / Elixir latest
runs-on: macos-13
name: test-macos-x86-64 / macos-13 / OTP latest / Elixir latest
env:
MIX_ENV: test
steps:
- uses: actions/checkout@v2
- run: brew install ffmpeg elixir
- run: mix deps.get
- run: mix test

test-macos-arm:
runs-on: macos-14
name: test-macos-arm / macos-14 / OTP latest / Elixir latest
env:
MIX_ENV: test
steps:
- uses: actions/checkout@v2
- run: brew install ffmpeg elixir
- run: mix deps.get
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
- run: mix test

0 comments on commit 3e37ff3

Please sign in to comment.