Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
Adjust runs-on to match expected arch
Browse files Browse the repository at this point in the history
  • Loading branch information
KendallWeihe committed Jul 4, 2024
1 parent 3876668 commit cbca333
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cbca333

Please sign in to comment.