Implement simple reference counting scheme #408
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: Tests | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Cache .stack | |
uses: actions/cache@v1 | |
with: | |
path: ~/.stack | |
key: ${{ runner.OS }}-stack-${{ hashFiles('stack.yaml') }}-${{ hashFiles('package.yaml') }} | |
restore-keys: | | |
${{ runner.OS }}-stack- | |
- name: Install LLVM and Clang | |
uses: KyleMayes/install-llvm-action@v1 | |
with: | |
version: "17.0" | |
- name: Add ~/.local/bin to PATH | |
run: echo "$HOME/.local/bin" >> $GITHUB_PATH | |
- name: Setup Stack | |
run: stack setup | |
- name: Build dependencies | |
run: stack test --dependencies-only --fast | |
- name: Build | |
run: stack test --no-run-tests --fast | |
- name: Run tests | |
run: stack test --fast |