From f2dac6c8e51d689046f2cdbb1e11ef045e5ed109 Mon Sep 17 00:00:00 2001 From: SimonThormeyer Date: Mon, 17 Jun 2024 16:25:24 +0200 Subject: [PATCH] chore: no cross compile --- .github/workflows/swift-bindings.yml | 6 +++--- crypto-ffi/Makefile.toml | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/swift-bindings.yml b/.github/workflows/swift-bindings.yml index 25c5f91d2..5b9545cf7 100644 --- a/.github/workflows/swift-bindings.yml +++ b/.github/workflows/swift-bindings.yml @@ -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 @@ -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 @@ -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 diff --git a/crypto-ffi/Makefile.toml b/crypto-ffi/Makefile.toml index 5507a811a..f464306e9 100644 --- a/crypto-ffi/Makefile.toml +++ b/crypto-ffi/Makefile.toml @@ -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 #################################### @@ -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",