Feature/using component #374
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Elixir Compatibility | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
env: | |
MIX_ENV: test | |
WASMEX_BUILD: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: OTP ${{ matrix.otp }} / Elixir ${{ matrix.elixir }} | |
strategy: | |
fail-fast: false | |
matrix: | |
otp: [25.2, 26.2, 27.1] | |
elixir: [1.15.8, 1.16.3, 1.17.3] | |
exclude: | |
- otp: 27.1 | |
elixir: 1.15.8 | |
- otp: 27.1 | |
elixir: 1.16.3 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: ${{ matrix.otp }} | |
elixir-version: ${{ matrix.elixir }} | |
- uses: dtolnay/rust-toolchain@stable | |
with: | |
toolchain: stable | |
- name: Add targets | |
run: | | |
rustup target add wasm32-unknown-unknown | |
rustup target add wasm32-wasip1 | |
- run: mix do deps.get, deps.compile | |
- run: mix test |