From df80a870cb4f6098a747ef1406bd71f3777b3f95 Mon Sep 17 00:00:00 2001 From: Santiago Carmuega Date: Sat, 16 Dec 2023 11:19:27 -0300 Subject: [PATCH 1/3] fix: remove Mithril from cross builds --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5e49a972..86dd8f41 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: - release_for: Linux-arm64 build_on: ubuntu-latest target: "aarch64-unknown-linux-gnu" - args: "--locked --release" + args: "--locked --release --no-default-features" - release_for: Windows-x86_64 build_on: windows-latest From 2d2364424fac6165ba7b924a4f4fa3374f42fbb8 Mon Sep 17 00:00:00 2001 From: Santiago Carmuega Date: Sat, 16 Dec 2023 11:55:47 -0300 Subject: [PATCH 2/3] fix cross target --- Cross.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cross.toml b/Cross.toml index ad690a42..b6ba4f34 100644 --- a/Cross.toml +++ b/Cross.toml @@ -1,5 +1,5 @@ -[target.armv7-unknown-linux-gnueabihf] -image = "ghcr.io/cross-rs/armv7-unknown-linux-gnueabihf:edge" +[target.aarch64-unknown-linux-gnu] +image = "ghcr.io/cross-rs/aarch64-unknown-linux-gnu:edge" pre-build = [ "dpkg --add-architecture $CROSS_DEB_ARCH", "apt-get update", From 2e6f293b9d78084fd87f96b677eb406545debdbe Mon Sep 17 00:00:00 2001 From: Santiago Carmuega Date: Sat, 16 Dec 2023 12:03:33 -0300 Subject: [PATCH 3/3] remove mitrhil from darwin aarch64 --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 86dd8f41..fba54f18 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,7 @@ jobs: - release_for: Linux-arm64 build_on: ubuntu-latest target: "aarch64-unknown-linux-gnu" + # we skip mithril because of no support for cross compile args: "--locked --release --no-default-features" - release_for: Windows-x86_64 @@ -43,7 +44,8 @@ jobs: - release_for: Darwin-arm64 build_on: macOS-latest target: aarch64-apple-darwin - args: "--locked --release" + # we skip mithril because of no support for cross compile + args: "--locked --release --no-default-features" runs-on: ${{ matrix.build_on }}