1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 22:53:14 -04:00

Run cargo-deny on a matrix of targets (#2852)

* Run cargo-deny on a matrix of targets

* Try rust-cache

* Restrict the number of OSes
This commit is contained in:
Emil Ernerfeldt
2023-03-30 09:12:11 +02:00
committed by GitHub
parent b1f837ca2f
commit b8816d6988

View File

@@ -159,13 +159,27 @@ jobs:
# ---------------------------------------------------------------------------
cargo-deny:
name: cargo deny
strategy:
fail-fast: false
matrix:
include:
- target: aarch64-apple-darwin
- target: aarch64-linux-android
- target: wasm32-unknown-unknown
- target: x86_64-pc-windows-msvc
- target: x86_64-unknown-linux-gnu
# - target: x86_64-unknown-linux-musl
name: cargo-deny ${{ matrix.target }}
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: EmbarkStudios/cargo-deny-action@v1
with:
rust-version: "1.65.0"
log-level: error
command: check
arguments: ${{ matrix.flags }} --target ${{ matrix.target }}
# ---------------------------------------------------------------------------