From e7b91ad9e65e755cd074f8106a7a1e478420d7cd Mon Sep 17 00:00:00 2001 From: sveitser Date: Fri, 17 Mar 2023 13:56:07 +0100 Subject: [PATCH] CI: Abort early if Intel ADX instruction missing Close #255 --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 186e1b04c..3633844f4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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