name: CI
on:
push:
branches: [staging, trying]
jobs:
ci:
name: CI
needs: [test]
runs-on: ubuntu-latest
steps:
- name: Done
run: exit 0
test:
name: Tests
strategy:
fail-fast: true
matrix:
include:
- os: windows-latest
rust: stable
target: x86_64-pc-windows-msvc
- os: windows-latest
rust: stable
target: x86_64-pc-windows-gnu
- os: macos-15-intel
rust: stable
target: x86_64-apple-darwin
- os: macos-latest
rust: stable
target: aarch64-apple-darwin
- os: ubuntu-latest
rust: stable
target: x86_64-unknown-linux-gnu
- os: ubuntu-latest
rust: beta
target: x86_64-unknown-linux-gnu
- os: ubuntu-24.04-arm
rust: stable
target: aarch64-unknown-linux-gnu
- os: ubuntu-24.04-arm
rust: beta
target: aarch64-unknown-linux-gnu
runs-on: ${{ matrix.os }}
steps:
- name: Install rust
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.rust }}
targets: ${{ matrix.target }}
- name: Checkout
uses: actions/checkout@v5
- name: Remove rust-toolchain.toml
shell: bash
run: rm -f rust-toolchain.toml
- name: Install Just
run: cargo install just cargo-nextest
- name: Install MinGW
if: matrix.target == 'x86_64-pc-windows-gnu'
uses: msys2/setup-msys2@v2
with:
msystem: MINGW64
install: mingw-w64-x86_64-gcc
update: true
- name: OpenSSL Libs
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install libssl-dev
- name: Test
run: just test