-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
92 additions
and
207 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,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
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,65 @@ | ||
name: Tests | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
workflow_dispatch: | ||
branches: | ||
- support-ghc-9.2 | ||
- master | ||
|
||
jobs: | ||
build: | ||
name: stack / ghc ${{ matrix.ghc }} / ${{ matrix.platform }} | ||
runs-on: ${{ matrix.platform }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
platform: [ubuntu-latest] | ||
resolver: | ||
[ | ||
"lts-18.14", | ||
"lts-16.31", | ||
"lts-14.27", | ||
"lts-12.26", | ||
"lts-11.22" | ||
] | ||
include: | ||
- resolver: "lts-18.14" | ||
ghc: "8.10.7" | ||
ghv: "8.10" | ||
- resolver: "lts-16.31" | ||
ghc: "8.8.4" | ||
ghv: "8.8" | ||
- resolver: "lts-14.27" | ||
ghc: "8.6.5" | ||
ghv: "8.6" | ||
- resolver: "lts-12.26" | ||
ghc: "8.4.4" | ||
ghv: "8.4" | ||
- resolver: "lts-11.22" | ||
ghc: "8.2.2" | ||
ghv: "8.2" | ||
|
||
steps: | ||
- name: Setup GHC | ||
uses: haskell/actions/setup@v1 | ||
with: | ||
ghc-version: ${{ matrix.ghc }} | ||
enable-stack: true | ||
|
||
- name: Clone project | ||
uses: actions/checkout@v2 | ||
|
||
- name: Cache dependencies | ||
uses: actions/cache@v2 | ||
with: | ||
path: ~/.stack | ||
key: ${{ runner.os }}-${{ matrix.resolver }}-${{ hashFiles('stack.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-${{ matrix.resolver }}- | ||
# This entirely avoids the caching of a GHC version. | ||
- name: Build and run tests | ||
run: "stack test --fast --no-terminal --resolver=${{ matrix.resolver }} --system-ghc --stack-yaml=stack-${{ matrix.ghv }}.yaml" |
This file was deleted.
Oops, something went wrong.
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,12 @@ | ||
resolver: lts-18.14 | ||
install-ghc: true | ||
system-ghc: false | ||
flags: {} | ||
packages: | ||
- '.' | ||
extra-deps: | ||
# Using an outdated shelly, forces an outdated 'time', which breaks unix, directory, ... | ||
# Instead, we don't build with 8.8 or 8.10 on Windows. | ||
# - shelly-1.8.0 # 1.8.1 and 1.9.0 are broken for windows: see https://github.com/yesodweb/Shelly.hs/issues/176 | ||
# - time-1.8.0.4 | ||
- regex-pcre-0.95.0.0 |
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,11 +1,11 @@ | ||
resolver: lts-12.22 | ||
resolver: lts-12.26 | ||
install-ghc: true | ||
flags: {} | ||
packages: | ||
- '.' | ||
system-ghc: false | ||
extra-deps: | ||
- shelly-1.8.0 # 1.8.1 is broken for windows: see https://github.com/yesodweb/Shelly.hs/issues/176 | ||
- shelly-1.8.0 # 1.8.1 and 1.9.0 are broken for windows: see https://github.com/yesodweb/Shelly.hs/issues/176 | ||
- regex-tdfa-1.3.1.0 | ||
- regex-base-0.94.0.0 | ||
- regex-pcre-builtin-0.95.1.1.8.43 |
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,11 +1,11 @@ | ||
resolver: lts-14.21 | ||
resolver: lts-14.27 | ||
install-ghc: true | ||
system-ghc: false | ||
flags: {} | ||
packages: | ||
- '.' | ||
extra-deps: | ||
- shelly-1.8.0 # 1.8.1 is broken for windows: see https://github.com/yesodweb/Shelly.hs/issues/176 | ||
- shelly-1.8.0 # 1.8.1 and 1.9.0 are broken for windows: see https://github.com/yesodweb/Shelly.hs/issues/176 | ||
- regex-tdfa-1.3.1.0 | ||
- regex-base-0.94.0.0 | ||
- regex-pcre-builtin-0.95.1.1.8.43 |
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,8 +1,12 @@ | ||
resolver: nightly-2020-01-25 | ||
resolver: lts-16.31 | ||
install-ghc: true | ||
system-ghc: false | ||
flags: {} | ||
packages: | ||
- '.' | ||
extra-deps: | ||
# Using an outdated shelly, forces an outdated 'time', which breaks unix, directory, ... | ||
# Instead, we don't build with 8.8 or 8.10 on Windows. | ||
# - shelly-1.8.0 # 1.8.1 and 1.9.0 are broken for windows: see https://github.com/yesodweb/Shelly.hs/issues/176 | ||
# - time-1.8.0.4 | ||
- regex-pcre-0.95.0.0 |