From e1943e44e9de59ca7e1481720cf5a1bfb1037036 Mon Sep 17 00:00:00 2001 From: Artyom Pavlov Date: Fri, 29 Nov 2024 15:45:14 +0300 Subject: [PATCH] ci: disable visionos build and fix cross installation (#548) --- .github/workflows/build.yml | 3 ++- .github/workflows/nopanic.yaml | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 87b5fe7f..b97c4f7c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,7 +33,8 @@ jobs: - run: cargo test --no-run --target=aarch64-apple-watchos -Zbuild-std --features=std # visionOS requires Xcode 15.2+, GitHub Actions defaults to an older version. - run: sudo xcode-select -switch /Applications/Xcode_15.2.app - - run: cargo test --no-run --target=aarch64-apple-visionos -Zbuild-std --features=std + # std is broken on visionOS right now + #- run: cargo test --no-run --target=aarch64-apple-visionos -Zbuild-std --features=std cross: name: Cross diff --git a/.github/workflows/nopanic.yaml b/.github/workflows/nopanic.yaml index dc8b1d4b..24c89efb 100644 --- a/.github/workflows/nopanic.yaml +++ b/.github/workflows/nopanic.yaml @@ -93,6 +93,9 @@ jobs: - uses: Swatinem/rust-cache@v2 # TODO: use pre-compiled cross after a new (post-0.2.5) release - name: Install cross + env: + # Allow compiler warnings during cross installation + RUSTFLAGS: run: cargo install cross --force --git https://github.com/cross-rs/cross - name: Build (rndr.rs)