Test ghc924 running on x86_64-darwin #219
Workflow file for this run
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
# The present workflow was made based on the following references: | |
# - https://github.com/actions/cache/blob/main/examples.md#haskell---cabal | |
# - https://github.com/haskell/time/blob/master/.github/workflows/ci.yml | |
# - https://github.com/stackbuilders/stache/blob/master/.github/workflows/ci.yaml | |
# - https://markkarpov.com/post/github-actions-for-haskell-ci.html | |
--- | |
name: Build | |
on: push | |
concurrency: | |
group: build-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
haskell: | |
strategy: | |
fail-fast: true | |
matrix: | |
os: | |
- macos-13 # x86_64-darwin | |
# - macos-latest # aarch64-darwin | |
# - ubuntu-latest # x86_64-linux | |
installable: | |
# - test-ghc8107 | |
- test-ghc902 # TODO: Rename package to test-ghc924 | |
# exclude: | |
# - os: ubuntu-latest | |
# installable: test-ghc902 | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@v12 | |
with: | |
extra-conf: | |
accept-flake-config = true | |
- uses: DeterminateSystems/magic-nix-cache-action@v7 | |
- name: Compile code | |
run: nix build .#${{ matrix.installable }} | |
- name: Run tests | |
run: nix run .#${{ matrix.installable }} | |
docker: | |
if: false | |
uses: ./.github/workflows/reusable-docker.yml | |
with: | |
push: false |