Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
cache gmp
Browse files Browse the repository at this point in the history
  • Loading branch information
olomix committed Nov 2, 2023
1 parent 8cad37f commit abb713a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,19 +150,21 @@ jobs:
gmp-6.2.1.tar.xz
key: ${{ runner.os }}-gmp-x86_64-${{ hashFiles('build_gmp.sh') }}

- name: check
- name: install dependencies
run: |
uname -a
brew install nasm
- name: build
if: false
run: |
if [[ ! -d "depends/gmp/package_macos_x86_64" ]]; then ./build_gmp.sh macos_x86_64; fi
mkdir build_prover_macos_x86_64 && cd build_prover_macos_x86_64
cmake .. -DTARGET_PLATFORM=macos_x86_64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../package_macos_x86_64
make -j4 && make install
# mkdir build_prover_macos_x86_64 && cd build_prover_macos_x86_64
# cmake .. -DTARGET_PLATFORM=macos_x86_64 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../package_macos_x86_64
# make -j4 && make install
- name: test prover
if: false
run: |
set -x
set -e
Expand Down

0 comments on commit abb713a

Please sign in to comment.