Skip to content

Commit

Permalink
Bump CI dependencies for OS X and Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Rufflewind committed Feb 10, 2024
1 parent f6fda69 commit 1b47bc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
matrix:
include:
- { os: macos-latest, stack: lts-12.26, stack-extra-deps: "bytestring-0.11.3.0, filepath-1.4.100.0, unix-2.8.0.0" }
- { os: macos-latest, stack: lts-19.21, stack-extra-deps: "bytestring-0.11.3.0, filepath-1.4.100.0, unix-2.8.0.0" }
- { os: macos-latest, stack: lts-22.7, stack-extra-deps: "bytestring-0.11.5.3, filepath-1.5.2.0, os-string-2.0.2, unix-2.8.5.0", stack-package-flags: "{directory: {os-string: true}, unix: {os-string: true}}" }
- { os: ubuntu-latest, ghc: 8.4.4, cabal: 3.0.0.0, overrides: "before_prepare() { sed -i.bak /utimensat/d configure.ac; }" }
- { os: ubuntu-latest, ghc: 8.6.5, cabal: 3.0.0.0, overrides: "before_prepare() { sed -i.bak /utimensat/d configure.ac; }" }
- { os: ubuntu-latest, ghc: 8.10.7, cabal: 3.8.1.0 }
Expand All @@ -25,11 +25,12 @@ jobs:
- { os: ubuntu-latest, ghc: latest, cabal: latest }
- { os: windows-latest, stack: lts-12.26, stack-extra-deps: "bytestring-0.11.3.0, filepath-1.4.100.0, time-1.8.0.2, Win32-2.13.3.0", overrides: "before_prepare() { sed -i.bak -e /CreateSymbolicLinkW/d -e /GetFinalPathNameByHandleW/d configure.ac; }" }
- { os: windows-latest, stack: lts-17.5, stack-extra-deps: "bytestring-0.11.3.0, filepath-1.4.100.0, time-1.9.3, Win32-2.13.3.0" }
- { os: windows-latest, stack: lts-22.7, stack-extra-deps: "bytestring-0.11.5.3, filepath-1.4.100.0, time-1.12.2, Win32-2.14.0.0" }
- { os: windows-latest, stack: lts-22.7, stack-extra-deps: "bytestring-0.11.5.3, filepath-1.5.2.0, os-string-2.0.2, time-1.12.2, Win32-2.14.0.0", stack-package-flags: "{directory: {os-string: true}, Win32: {os-string: true}}" }
runs-on: ${{ matrix.os }}
env:
TESTSCRIPT_OVERRIDES: ${{ matrix.overrides }}
STACK_EXTRA_DEPS: ${{ matrix.stack-extra-deps }}
STACK_PACKAGE_FLAGS: ${{ matrix.stack-package-flags }}
STACK_RESOLVER: ${{ matrix.stack }}
steps:
- if: startsWith(matrix.os, 'macos-')
Expand Down
1 change: 1 addition & 0 deletions tools/testscript
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ prepare() {
resolver: $STACK_RESOLVER
packages: [.]
extra-deps: [${STACK_EXTRA_DEPS-}]
flags: ${STACK_PACKAGE_FLAGS-}
EOF
$stack ghc -- --version
$stack --version
Expand Down

0 comments on commit 1b47bc6

Please sign in to comment.