From d7bedc88ad42b209733a58b6298b1e706cf5db4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D1=80=D1=82=D1=91=D0=BC=20=D0=9F=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=BE=D0=B2=20=5BArtyom=20Pavlov=5D?= Date: Fri, 29 Nov 2024 15:39:55 +0300 Subject: [PATCH] ci: disable visionos build and fix cross installation --- .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)