Skip to content

Move to supported GH actions (#94) #84

Move to supported GH actions (#94)

Move to supported GH actions (#94) #84

Workflow file for this run

name: Rust CI
on: push
jobs:
build:
strategy:
matrix:
include:
- target: x86_64-unknown-linux-musl
asset: ozy-Linux-x86_64
runs-on: ubuntu-22.04
- target: x86_64-apple-darwin
asset: ozy-Darwin-x86_64
runs-on: macos-13
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v4
- run: rustup target add ${{ matrix.target }}
- name: Format
run: cargo fmt
- name: Clippy
run: cargo clippy
- if: ${{ contains(matrix.target, '-musl') }}
run: sudo apt-get install musl-tools
- name: Test
run: cargo test --target=${{ matrix.target }}