Skip to content

Commit

Permalink
Disable static linking by default (#908)
Browse files Browse the repository at this point in the history
  • Loading branch information
arcz authored Jan 20, 2023
1 parent 563886d commit ba89502
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
apt-get: autoconf automake libtool
- os: macos-latest
brew: automake

steps:
- name: Get Packages
uses: mstksg/get-package@v1
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
- name: Build and install echidna
run: |
stack install --ghc-options="-Werror" --extra-include-dirs=$HOME/.local/include --extra-lib-dirs=$HOME/.local/lib
stack install --flag echidna:static --ghc-options="-Werror" --extra-include-dirs=$HOME/.local/include --extra-lib-dirs=$HOME/.local/lib
- name: Amend and compress binaries (macOS)
if: runner.os == 'macOS'
Expand All @@ -83,7 +83,7 @@ jobs:
- name: Build and copy test suite
if: runner.os == 'Linux'
run: |
stack build --test --no-run-tests --ghc-options="-Werror" --extra-include-dirs=$HOME/.local/include --extra-lib-dirs=$HOME/.local/lib
stack build --flag echidna:static --test --no-run-tests --ghc-options="-Werror" --extra-include-dirs=$HOME/.local/include --extra-lib-dirs=$HOME/.local/lib
cp "$(find "$PWD" -name echidna-testsuite -type f)" .
- name: Upload testsuite
Expand Down
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,4 @@ flags:
static:
description: Pass -static to ghc when linking the stack binary.
manual: true
default: true
default: false

0 comments on commit ba89502

Please sign in to comment.