From 6fa33834bd870992fa6c3d536c49ccf45aa47bf8 Mon Sep 17 00:00:00 2001 From: Erik Everson <32311723+ErikEverson@users.noreply.github.com> Date: Tue, 9 Apr 2024 10:58:15 -0600 Subject: [PATCH] tvOS Clippy CI Check --- .github/workflows/ci.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ba1f2ba..5624b6a7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,8 +16,25 @@ env: RUSTFLAGS: -D warnings -F unused_must_use jobs: + clippy-build-std: + name: Clippy (-Zbuild-std) + runs-on: macos-latest + steps: + - uses: actions/checkout@v4 + with: + persist-credentials: false + + - uses: dtolnay/rust-toolchain@nightly + with: + components: clippy + + - name: Clippy (tvOS) + run: | + rustup component add rust-src --toolchain nightly-x86_64-apple-darwin + cargo +nightly clippy -Zbuild-std --target aarch64-apple-tvos + clippy: - name: Clippy + name: Clippy (stable) runs-on: ${{ matrix.os }} strategy: matrix: