Skip to content

Commit

Permalink
chore: no cross compile
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonThormeyer committed Jun 17, 2024
1 parent e2ab7cf commit f2dac6c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/swift-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:

jobs:
release-build:
runs-on: ubuntu-latest
runs-on: macos-latest # cross compiling fails with AARCH64_APPLE_DARWIN_OPENSSL_NO_VENDOR unset
steps:
- uses: actions/checkout@v4
- uses: actions-rust-lang/setup-rust-toolchain@v1
Expand All @@ -36,7 +36,7 @@ jobs:
cargo make release-build-aarch64-apple-darwin
compile-ffi-swift:
runs-on: ubuntu-latest
runs-on: macos-latest
needs: release-build
steps:
- uses: actions/checkout@v4
Expand All @@ -51,7 +51,7 @@ jobs:
cargo make compile-ffi-swift
ffi-swift:
runs-on: ubuntu-latest
runs-on: macos-latest
needs: compile-ffi-swift
steps:
- uses: actions/checkout@v4
Expand Down
8 changes: 4 additions & 4 deletions crypto-ffi/Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ command = "cargo"
args = ["build", "--release"]

# Needed to cross compile for apple on linux in CI
[tasks.release-build-aarch64-apple-darwin]
command = "cargo"
args = ["build", "--release", "--target", "aarch64-apple-darwin"]
#[tasks.release-build-aarch64-apple-darwin]
#command = "cargo"
#args = ["build", "--release", "--target", "aarch64-apple-darwin"]

##################################### DOCS ####################################

Expand Down Expand Up @@ -124,7 +124,7 @@ args = ["run", "build_ts.ts"]

[tasks.compile-ffi-swift]
dependencies = ["release-build"]
linux = { dependencies = ["release-build-aarch64-apple-darwin"] }
#linux = { dependencies = ["release-build-aarch64-apple-darwin"] }
command = "cargo"
args = [
"run",
Expand Down

0 comments on commit f2dac6c

Please sign in to comment.