Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ on:
jobs:
linux:
runs-on: ubuntu-latest
name: Linux ${{ matrix.elixir }}, ${{ matrix.otp }}
name: Linux ${{ matrix.elixir }}, ${{ matrix.otp }}, Nx ${{ matrix.nx }}
strategy:
fail-fast: false
matrix:
elixir: ["1.17.3"]
otp: ["27.1.2"]
nx: ["locked", "latest"]
env:
MIX_ENV: test
steps:
Expand All @@ -23,8 +25,13 @@ jobs:
# (new cargo build-dir layout). Remove once ort is upgraded.
- name: Pin Rust 1.99
run: rustup toolchain install 1.99.1 --profile minimal && rustup default 1.99.1
# The dev-only exla/torchx 0.6 still require Nx 0.6, so only the test
# dependencies are updated and fetched.
- name: Update Nx to the newest release
if: matrix.nx == 'latest'
run: mix deps.update nx --only test
- name: Install dependencies
run: mix deps.get
run: mix deps.get --only test
- name: Compile and check warnings
run: mix compile --warnings-as-errors
- name: Check formatting
Expand Down
Loading