Skip to content

Commit

Permalink
CI: Abort early if Intel ADX instruction missing
Browse files Browse the repository at this point in the history
Close #255
  • Loading branch information
sveitser committed Mar 17, 2023
1 parent 6c4e2c2 commit e7b91ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
- name: Check /proc/cpuinfo
run: cat /proc/cpuinfo

- name: Abort early if Intel ADX instructions (required by zkevm-prover) is not available
run: cat /proc/cpuinfo | grep -q ' adx ' || ( echo "Retry CI in the hopes of getting another CPU" && exit 1 )

- name: Install protoc
run: sudo apt-get install -y protobuf-compiler

Expand Down

0 comments on commit e7b91ad

Please sign in to comment.