From cd88484d8ef6ac864210ea8e2a5f31a02e86fd7b Mon Sep 17 00:00:00 2001 From: "C.Lee Taylor" <47312074+leet4tari@users.noreply.github.com> Date: Tue, 1 Nov 2022 10:03:15 +0200 Subject: [PATCH] fix(ci): selectively revert resolver for arm64 builds (#4871) Description: Revert resolver from 2 to 1 for ARM64 builds Motivation and Context: Fix ARM64 binary builds How Has This Been Tested? Build locally in fork --- .github/workflows/base_node_binaries.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/base_node_binaries.yml b/.github/workflows/base_node_binaries.yml index 265d2472ee..981419253b 100644 --- a/.github/workflows/base_node_binaries.yml +++ b/.github/workflows/base_node_binaries.yml @@ -178,6 +178,10 @@ jobs: - name: Cache cargo files and outputs uses: Swatinem/rust-cache@v1 + - name: Revert Cargo.toml for Ubuntu to cross-compile ARM64 + if: ${{ startsWith(runner.os,'Linux') && matrix.builds.name == 'linux-arm64' }} + run: sed -i-bak -e '/^resolver/s/2/1/' Cargo.toml + - name: Build rust binaries - Normal #if: ${{ matrix.builds.name != 'linux-arm64' }} uses: actions-rs/cargo@v1