From cbca333ba2ded46660aab70cdd68ea06f78118c1 Mon Sep 17 00:00:00 2001 From: Kendall Weihe Date: Thu, 4 Jul 2024 09:32:36 -0400 Subject: [PATCH] Adjust runs-on to match expected arch --- .github/workflows/macos.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 6892b46f..bb9a597e 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -7,22 +7,24 @@ on: jobs: build-intel: - runs-on: macos-latest + runs-on: macos-13 name: Build on Intel (x86) macOS steps: - uses: actions/checkout@v2 - name: Install Rust run: rustup toolchain install stable + - name: Set Target + run: rustup target add x86_64-apple-darwin - name: Build - run: cargo build -p tbdex_uniffi --release + run: cargo build --target x86_64-apple-darwin -p tbdex_uniffi --release - name: Upload .dylib uses: actions/upload-artifact@v3 with: name: intel-build-dylib - path: target/release/libtbdex_uniffi.dylib + path: target/x86_64-apple-darwin/release/libtbdex_uniffi.dylib build-apple-silicon: - runs-on: macos-12 + runs-on: macos-latest name: Build on Apple Silicon (ARM) macOS steps: - uses: actions/checkout@v2