From f6d4b942f991f833931c6b8f93704de78a24f0bd Mon Sep 17 00:00:00 2001 From: HEnquist Date: Sun, 10 Nov 2024 21:43:14 +0100 Subject: [PATCH] Update for new macos runners --- .github/workflows/ci_test.yml | 15 ++++++++------- .github/workflows/publish.yml | 12 +++++------- 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci_test.yml b/.github/workflows/ci_test.yml index 3135dcb..7672909 100644 --- a/.github/workflows/ci_test.yml +++ b/.github/workflows/ci_test.yml @@ -159,8 +159,8 @@ jobs: run: cargo test --no-default-features check_test_macos: - name: Check and test macOS - runs-on: macos-latest + name: Check and test macOS Intel + runs-on: macos-13 steps: - name: Checkout sources uses: actions/checkout@v4 @@ -175,7 +175,7 @@ jobs: run: cargo test --no-default-features check_macos_arm: - name: Check macOS aarch64 + name: Check and test macOS Arm runs-on: macos-latest steps: - name: Checkout sources @@ -183,11 +183,12 @@ jobs: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - with: - targets: aarch64-apple-darwin - - name: Run cargo check for arm - run: cargo check --target aarch64-apple-darwin + - name: Run cargo check + run: cargo check --no-default-features + + - name: Run cargo test + run: cargo test --no-default-features diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a94744f..4d95c89 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -192,8 +192,8 @@ jobs: asset_name: camilladsp-windows7-amd64.zip tag: ${{ github.ref }} macos: - name: macOS - runs-on: macos-latest + name: macOS Intel + runs-on: macos-13 steps: - name: Checkout sources uses: actions/checkout@v4 @@ -217,7 +217,7 @@ jobs: macos_arm: - name: macOS aarch64 + name: macOS Arm runs-on: macos-latest steps: - name: Checkout sources @@ -225,14 +225,12 @@ jobs: - name: Install stable toolchain uses: dtolnay/rust-toolchain@stable - with: - targets: aarch64-apple-darwin - name: Build - run: cargo build --release --target aarch64-apple-darwin + run: cargo build --release - name: Compress - run: tar -zcvf camilladsp.tar.gz -C target/aarch64-apple-darwin/release camilladsp + run: tar -zcvf camilladsp.tar.gz -C target/release camilladsp - name: Upload binaries to release uses: svenstaro/upload-release-action@v2