Skip to content

Features/wasm components #7

Features/wasm components

Features/wasm components #7

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