ci: binaries-linux-x64: try other static build options
This commit is contained in:
parent
981aee3e52
commit
b23b61a60f
8
.github/workflows/binaries-linux-x64.yml
vendored
8
.github/workflows/binaries-linux-x64.yml
vendored
@ -176,13 +176,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Build with stack
|
- name: Build with stack
|
||||||
run: |
|
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 -fPIC' 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 -fPIC' 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-web # || (echo "ERROR: building hledger-web failed"; false)
|
||||||
|
|
||||||
- name: Run built-in unit tests
|
- name: Run built-in unit tests
|
||||||
run: |
|
run: |
|
||||||
stack exec --ghc-options='-optl-static -optl-pthread' -- hledger test
|
stack exec -- hledger test
|
||||||
|
|
||||||
- name: Gather binaries
|
- name: Gather binaries
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user