From 566a55a25264c96166ff6fd7c4165c5822868394 Mon Sep 17 00:00:00 2001 From: Melfely Date: Thu, 10 Sep 2026 14:11:36 -0500 Subject: [PATCH] ci: Updated MacOS CI to pass on build fails, added cargo check to MacOS CI --- .gitea/workflows/lint.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index 4d00a26..cd6cbe6 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -108,9 +108,21 @@ jobs: uses: actions/checkout@v5 - name: Setup Rust - uses: dtolnay/rust-toolchain@stable - + uses: dtolnay/rust-toolchain@stable + + + # CrossCheck for MacOS first, which checks for a valid rust project on MacOS + - name: Crosscheck for MacOS + uses: zijiren233/cargo-cross@v1 + with: + command: check + targets: | + aarch64-apple-darwin + + + # MacOS is known for having a problematic linker step from linux, we should not fail the job if this fails, but this Workflow ALSO has the seperate cargo check - name: Crosscompile for targets + continue-on-error: true uses: zijiren233/cargo-cross@v1 with: targets: |