From b23b61a60fdd31cdc8687e2e8b090e7f6cc3ddc2 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 17 Apr 2024 15:42:46 -1000 Subject: [PATCH] ci: binaries-linux-x64: try other static build options --- .github/workflows/binaries-linux-x64.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/binaries-linux-x64.yml b/.github/workflows/binaries-linux-x64.yml index a70069538..17c3a5319 100644 --- a/.github/workflows/binaries-linux-x64.yml +++ b/.github/workflows/binaries-linux-x64.yml @@ -176,13 +176,13 @@ jobs: - name: Build with stack run: | - stack --allow-different-user build --ghc-options='-optl-static -optl-pthread' hledger # || (echo "ERROR: building hledger failed"; false) - stack --allow-different-user build --ghc-options='-optl-static -optl-pthread' hledger-ui # || (echo "ERROR: building hledger-ui failed"; false) - stack --allow-different-user build --ghc-options='-optl-static -optl-pthread' hledger-web # || (echo "ERROR: building hledger-web failed"; false) + stack --allow-different-user build --ghc-options='-optl-static -fPIC' hledger # || (echo "ERROR: building hledger failed"; false) + stack --allow-different-user build --ghc-options='-optl-static -fPIC' hledger-ui # || (echo "ERROR: building hledger-ui failed"; false) + stack --allow-different-user build --ghc-options='-optl-static -fPIC' hledger-web # || (echo "ERROR: building hledger-web failed"; false) - name: Run built-in unit tests run: | - stack exec --ghc-options='-optl-static -optl-pthread' -- hledger test + stack exec -- hledger test - name: Gather binaries run: |