forked from jgm/cmark-hs
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
8 changed files
with
59 additions
and
1,084 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: CI tests | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
linux: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: true | ||
matrix: | ||
versions: | ||
- ghc: '8.10' | ||
cabal: '3.2' | ||
- ghc: '9.0' | ||
cabal: '3.4' | ||
- ghc: '9.2' | ||
cabal: '3.6' | ||
- ghc: '9.4' | ||
cabal: 'latest' | ||
- ghc: '9.6' | ||
cabal: 'latest' | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Install cabal/ghc | ||
run: | | ||
ghcup install ghc --set ${{ matrix.versions.ghc }} | ||
ghcup install cabal --set ${{ matrix.versions.cabal }} | ||
- name: Cache cabal global package db | ||
id: cabal-global | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.cabal | ||
key: ${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-cabal-global-${{ secrets.CACHE_VERSION }} | ||
|
||
- name: Update | ||
run: | | ||
cabal v2-update | ||
- name: Build | ||
run: | | ||
cabal v2-build --enable-tests --disable-optimization -fexecutable | ||
- name: Test | ||
run: | | ||
cabal v2-test --disable-optimization | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
dist | ||
cabal-dev | ||
cabal.project.local | ||
*.o | ||
*.hi | ||
*.chi | ||
|
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.