From c29435347f1cda11c7ebccbd922f0b7471575f76 Mon Sep 17 00:00:00 2001 From: Andrew Mackenzie Date: Wed, 18 Sep 2024 15:16:19 +0200 Subject: [PATCH] Try installing linkers directly --- Cargo.toml | 5 +---- github-build-setup.yml | 4 ++++ 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 github-build-setup.yml diff --git a/Cargo.toml b/Cargo.toml index fcb10301..1f864249 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -110,6 +110,7 @@ pr-run-mode = "plan" install-path = "CARGO_HOME" # Whether to install an updater program install-updater = false +github-build-setup = "github-build-setup.yml" [workspace.metadata.dist.github-custom-runners] aarch64-apple-darwin = "macos-14" @@ -119,7 +120,3 @@ x86_64-pc-windows-msvc = "windows-latest" [package.metadata.cargo-all-features] skip_optional_dependencies = true - -[workspace.metadata.dist.dependencies.apt] -gcc-aarch64-linux-gnu = { version = '*', targets = ["aarch64-unknown-linux-gnu"] } -gcc-arm-linux-gnueabihf = { version = '*', targets = ["armv7-unknown-linux-gnueabihf"] } \ No newline at end of file diff --git a/github-build-setup.yml b/github-build-setup.yml new file mode 100644 index 00000000..0969c600 --- /dev/null +++ b/github-build-setup.yml @@ -0,0 +1,4 @@ +- name: Install armv7 and aarch64 Linkers + run: | + sudo apt-get install gcc-aarch64-linux-gnu + sudo apt-get install gcc-arm-linux-gnueabihf