Skip to content

Commit

Permalink
fix(ci): selectively revert resolver for arm64 builds (#4871)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
leet4tari authored Nov 1, 2022
1 parent fff4e21 commit cd88484
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/base_node_binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cd88484

Please sign in to comment.