Stackage Nightly #622
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: stackage-nightly | |
on: | |
schedule: | |
- cron: "5 6 * * *" | |
workflow_dispatch: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install system dependencies | |
run: | | |
sudo apt-get install libpcre3-dev | |
- name: Install the Haskell Stack | |
run: | | |
mkdir -p ~/.local/bin | |
curl -L https://get.haskellstack.org/stable/linux-x86_64.tar.gz | tar xz --wildcards --strip-components=1 -C ~/.local/bin '*/stack' | |
- name: Build with the nightly snapshot | |
run: | | |
rm -f stack.yaml && stack init --resolver nightly | |
stack build --resolver nightly --haddock --test --bench --no-run-benchmarks |