From 5ebbfea067e1ee6a2da9ca3d5a4c52efc4736bfd Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 11 Jul 2022 09:38:19 +0100 Subject: [PATCH] ci: linux-x64-static: try building separately to avoid segfault --- .github/workflows/binaries-linux-x64-static.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/binaries-linux-x64-static.yml b/.github/workflows/binaries-linux-x64-static.yml index 572a77821..40ea26467 100644 --- a/.github/workflows/binaries-linux-x64-static.yml +++ b/.github/workflows/binaries-linux-x64-static.yml @@ -39,7 +39,10 @@ jobs: run: cabal update - name: Build on alpine - run: cabal build --enable-executable-static all + run: | + cabal build --enable-executable-static hledger || echo "ERROR: building hledger failed" + cabal build --enable-executable-static hledger-ui || echo "ERROR: building hledger failed" + cabal build --enable-executable-static hledger-web || echo "ERROR: building hledger-web failed" - name: Extract and strip binaries run: |