Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
Signed-off-by: Karim TAAM <karim.t2am@gmail.com>
  • Loading branch information
matkt committed Mar 30, 2023
1 parent 414d826 commit 0852e8b
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,8 @@ jobs:
steps:
- name: Prepare
run: |
# secp256k1 dependencies
sudo apt-get update
sudo apt-get install -y autoconf build-essential libtool automake patchelf
# rust dependencies
export CARGO_HOME="$HOME/.cargo"
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.62.1
# install go
brew install go@1.20
- name: Checkout Repo
uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -117,8 +113,15 @@ jobs:
steps:
- name: Prepare
run: |
# install go
brew install go@1.20
# secp256k1 dependencies
brew install autoconf automake libtool
# rust dependencies
export CARGO_HOME="$HOME/.cargo"
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.62.1
# install both x86 and arm64 toolchains
export PATH="$HOME/.cargo/bin:$PATH"
rustup target add x86_64-apple-darwin
rustup target add aarch64-apple-darwin
- name: Checkout Repo
uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 0852e8b

Please sign in to comment.