name: ci-flow
on:
pull_request:
push:
branches:
- master
- "releases/*"
jobs:
build:
runs-on: ${{ matrix.os.imageName }}
strategy:
matrix:
rust_toolchain: ["stable"]
os:
- imageName: ubuntu-16.04
target: x86_64-unknown-linux-gnu
profile: linux
- imageName: "macOS-latest"
target: x86_64-apple-darwin
profile: mac
- imageName: "windows-2019"
target: x86_64-pc-windows-msvc
profile: windows
steps:
- uses: actions-rs/toolchain@v1
with:
toolchain: ${{ matrix.rust_toolchain }}
override: true
- uses: davidB/rust-cargo-make@v1
- uses: actions/checkout@v4.2.2
- name: Run tests
run: cargo make --disable-check-for-updates --profile ${{ matrix.os.profile }} --env TARGET=${{matrix.os.target}} ci-flow