updated workflow #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: atool CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
permissions: | |
contents: read | |
jobs: | |
runhaskell: | |
name: build atool linux | |
runs-on: ubuntu-latest # or macOS-latest, or windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: haskell-actions/setup@v2 | |
with: | |
ghc-version: '9.4.8' # Exact version of ghc to use | |
cabal-version: '3.10.2.1' | |
enable-stack: true | |
stack-version: 'latest' | |
- run: stack build --ghc-options="-static -optl-static -optl-pthread" |