From afd60c5f689ef11863852353dd394265a0c37863 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Tue, 14 May 2024 22:31:04 +0200 Subject: [PATCH] .github/workflows/ci.yml: bypass Go build if the compiler is not present. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a765c512..408ab691 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -154,7 +154,7 @@ jobs: - name: Go shell: bash run: | - go version + go version 2>/dev/null || exit 0 if ! (grep -q -e '^flags.*\badx\b' /proc/cpuinfo) 2>/dev/null; then export CGO_CFLAGS="-O -D__BLST_PORTABLE__" fi