Skip to content

Commit

Permalink
Do CI on individual stack.yaml files
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasjm committed Nov 18, 2023
1 parent bf27480 commit be6a92e
Show file tree
Hide file tree
Showing 9 changed files with 225 additions and 86 deletions.
24 changes: 9 additions & 15 deletions .github/workflows/sandwich.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
- "8.10.7"
- "9.0.2"
- "9.2.7"
- "9.4.5"
- "9.6.2"
- "9.4.7"
- "9.6.3"
exclude:
# ghc-9.4.4.exe: C:\sr\ghc-9.4.4\hashable-1.4.2.0-caea75de59bac447a2475c023cb3e922a3a24348\lib\libHShashable-1.4.2.0-caea75de59bac447a2475c023cb3e922a3a24348.a(#7:LowLevel.o): Not a x86_64 PE+ file.
# ghc-9.4.4.exe: Unknown COFF 4 type in getHeaderInfo.
Expand Down Expand Up @@ -70,18 +70,12 @@ jobs:
fail-fast: false
matrix:
include:
- ghc: "8.6.5"
resolver: "lts-14.27"
- ghc: "8.8.4"
resolver: "lts-16.31"
- ghc: "8.10.7"
resolver: "lts-18.28"
- ghc: "9.0.2"
resolver: "lts-19.33"
- ghc: "9.2.8"
resolver: "lts-20.26"
- ghc: "9.4.6"
resolver: "lts-21.11"
yaml: "stack-9.2.8.yaml"
- ghc: "9.4.7"
yaml: "stack-9.4.7-yaml"
- ghc: "9.6.3"
yaml: "stack-9.6.3.yaml"

steps:
- uses: actions/checkout@v3
Expand All @@ -107,9 +101,9 @@ jobs:
- name: Build
run: |
cd sandwich
stack build --resolver ${{matrix.resolver}} --system-ghc --test --bench --no-run-tests --no-run-benchmarks
stack build --stack-yaml ${{matrix.yaml}} --system-ghc --test --bench --no-run-tests --no-run-benchmarks
- name: Test
run: |
cd sandwich
stack test --resolver ${{matrix.resolver}} --system-ghc
stack test --stack-yaml ${{matrix.yaml}} --system-ghc
24 changes: 24 additions & 0 deletions stack-9.2.8.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

resolver: lts-20.26

nix:
pure: false
packages:
- pkg-config
- zlib

packages:
- ./sandwich
- ./sandwich-hedgehog
- ./sandwich-quickcheck
- ./sandwich-slack
- ./sandwich-webdriver

extra-deps:
- brick-2.1.1
- vty-6.1
- vty-crossplatform-0.4.0.0
- vty-unix-0.2.0.0
- vty-windows-0.2.0.0

- text-zipper-0.13@sha256:e1a48d69c9324ed3784bc39d5ded84d63ea3115b32a018ddf76158ed9d58dc0a,1472
54 changes: 54 additions & 0 deletions stack-9.2.8.yaml.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# This file was autogenerated by Stack.
# You should not edit this file by hand.
# For more information, please see the documentation at:
# https://docs.haskellstack.org/en/stable/lock_files

packages:
- completed:
hackage: brick-2.1.1@sha256:ff36d64f1027eac17a14a83de053067413accb58b79e5002dce2a79cb8a3dcb3,17385
pantry-tree:
sha256: c70beaff3ad9126bc2a9a57649ef63becd534b7eb6b015092cb28437fe3f916d
size: 4671
original:
hackage: brick-2.1.1
- completed:
hackage: vty-6.1@sha256:524d124223c02373260ebc409ddd622fbe97cacd1ea0ee98476b5992bddbc4f3,3661
pantry-tree:
sha256: 4ed3b229066617a0f3429b7b7dadc8e01d14111ac675801053cd35fbb6ee3f14
size: 2104
original:
hackage: vty-6.1
- completed:
hackage: vty-crossplatform-0.4.0.0@sha256:50593f91ad16777d921138475a8d2784d538fd206addd30664c620278d6c8544,3172
pantry-tree:
sha256: ff010cf0ab3f48c43432268a00113e051599285d6ed60cfada7f53e44dbe00f8
size: 582
original:
hackage: vty-crossplatform-0.4.0.0
- completed:
hackage: vty-unix-0.2.0.0@sha256:2af3d0bdae3c4b7b7e567ee374efe32c7439fabdf9096465ce011a6c6736e9ae,2932
pantry-tree:
sha256: 0e3dd52406c263fd4b54d03123e71423d1ef6939fb8c179745486243c519fdf7
size: 1926
original:
hackage: vty-unix-0.2.0.0
- completed:
hackage: vty-windows-0.2.0.0@sha256:91a11bab7bb79f8ee0d4a8166824ed855251cbac101eed3fdf607ad519a13557,2815
pantry-tree:
sha256: 50d343eb4df5d1901b1773baeaff8ae7c6a88204d0997430e26f0dc50a1a63eb
size: 2160
original:
hackage: vty-windows-0.2.0.0
- completed:
hackage: text-zipper-0.13@sha256:e1a48d69c9324ed3784bc39d5ded84d63ea3115b32a018ddf76158ed9d58dc0a,1472
pantry-tree:
sha256: c8e30137f3b5aae8b21ada32551f5d879bdf56165c0b42548fb1832011a60c57
size: 604
original:
hackage: text-zipper-0.13@sha256:e1a48d69c9324ed3784bc39d5ded84d63ea3115b32a018ddf76158ed9d58dc0a,1472
snapshots:
- completed:
sha256: 5a59b2a405b3aba3c00188453be172b85893cab8ebc352b1ef58b0eae5d248a2
size: 650475
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/20/26.yaml
original: lts-20.26
22 changes: 22 additions & 0 deletions stack-9.4.7.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

resolver: lts-21.20

nix:
pure: false
packages:
- pkg-config
- zlib

packages:
- ./sandwich
- ./sandwich-hedgehog
- ./sandwich-quickcheck
- ./sandwich-slack
- ./sandwich-webdriver

extra-deps:
- brick-2.1.1
- vty-6.1
- vty-crossplatform-0.4.0.0
- vty-unix-0.2.0.0
- vty-windows-0.2.0.0
47 changes: 47 additions & 0 deletions stack-9.4.7.yaml.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# This file was autogenerated by Stack.
# You should not edit this file by hand.
# For more information, please see the documentation at:
# https://docs.haskellstack.org/en/stable/lock_files

packages:
- completed:
hackage: brick-2.1.1@sha256:ff36d64f1027eac17a14a83de053067413accb58b79e5002dce2a79cb8a3dcb3,17385
pantry-tree:
sha256: c70beaff3ad9126bc2a9a57649ef63becd534b7eb6b015092cb28437fe3f916d
size: 4671
original:
hackage: brick-2.1.1
- completed:
hackage: vty-6.1@sha256:524d124223c02373260ebc409ddd622fbe97cacd1ea0ee98476b5992bddbc4f3,3661
pantry-tree:
sha256: 4ed3b229066617a0f3429b7b7dadc8e01d14111ac675801053cd35fbb6ee3f14
size: 2104
original:
hackage: vty-6.1
- completed:
hackage: vty-crossplatform-0.4.0.0@sha256:50593f91ad16777d921138475a8d2784d538fd206addd30664c620278d6c8544,3172
pantry-tree:
sha256: ff010cf0ab3f48c43432268a00113e051599285d6ed60cfada7f53e44dbe00f8
size: 582
original:
hackage: vty-crossplatform-0.4.0.0
- completed:
hackage: vty-unix-0.2.0.0@sha256:2af3d0bdae3c4b7b7e567ee374efe32c7439fabdf9096465ce011a6c6736e9ae,2932
pantry-tree:
sha256: 0e3dd52406c263fd4b54d03123e71423d1ef6939fb8c179745486243c519fdf7
size: 1926
original:
hackage: vty-unix-0.2.0.0
- completed:
hackage: vty-windows-0.2.0.0@sha256:91a11bab7bb79f8ee0d4a8166824ed855251cbac101eed3fdf607ad519a13557,2815
pantry-tree:
sha256: 50d343eb4df5d1901b1773baeaff8ae7c6a88204d0997430e26f0dc50a1a63eb
size: 2160
original:
hackage: vty-windows-0.2.0.0
snapshots:
- completed:
sha256: 5921ddc75f5dd3f197fbc32e1e5676895a8e7b971d4f82ef6b556657801dd18a
size: 640054
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/21/20.yaml
original: lts-21.20
22 changes: 22 additions & 0 deletions stack-9.6.3.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

resolver: nightly-2023-11-18

nix:
pure: false
packages:
- pkg-config
- zlib

packages:
- ./sandwich
- ./sandwich-hedgehog
- ./sandwich-quickcheck
- ./sandwich-slack
- ./sandwich-webdriver

extra-deps:
- brick-2.1.1
- vty-6.1
- vty-crossplatform-0.4.0.0
- vty-unix-0.2.0.0
- vty-windows-0.2.0.0
47 changes: 47 additions & 0 deletions stack-9.6.3.yaml.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# This file was autogenerated by Stack.
# You should not edit this file by hand.
# For more information, please see the documentation at:
# https://docs.haskellstack.org/en/stable/lock_files

packages:
- completed:
hackage: brick-2.1.1@sha256:ff36d64f1027eac17a14a83de053067413accb58b79e5002dce2a79cb8a3dcb3,17385
pantry-tree:
sha256: c70beaff3ad9126bc2a9a57649ef63becd534b7eb6b015092cb28437fe3f916d
size: 4671
original:
hackage: brick-2.1.1
- completed:
hackage: vty-6.1@sha256:524d124223c02373260ebc409ddd622fbe97cacd1ea0ee98476b5992bddbc4f3,3661
pantry-tree:
sha256: 4ed3b229066617a0f3429b7b7dadc8e01d14111ac675801053cd35fbb6ee3f14
size: 2104
original:
hackage: vty-6.1
- completed:
hackage: vty-crossplatform-0.4.0.0@sha256:50593f91ad16777d921138475a8d2784d538fd206addd30664c620278d6c8544,3172
pantry-tree:
sha256: ff010cf0ab3f48c43432268a00113e051599285d6ed60cfada7f53e44dbe00f8
size: 582
original:
hackage: vty-crossplatform-0.4.0.0
- completed:
hackage: vty-unix-0.2.0.0@sha256:2af3d0bdae3c4b7b7e567ee374efe32c7439fabdf9096465ce011a6c6736e9ae,2932
pantry-tree:
sha256: 0e3dd52406c263fd4b54d03123e71423d1ef6939fb8c179745486243c519fdf7
size: 1926
original:
hackage: vty-unix-0.2.0.0
- completed:
hackage: vty-windows-0.2.0.0@sha256:91a11bab7bb79f8ee0d4a8166824ed855251cbac101eed3fdf607ad519a13557,2815
pantry-tree:
sha256: 50d343eb4df5d1901b1773baeaff8ae7c6a88204d0997430e26f0dc50a1a63eb
size: 2160
original:
hackage: vty-windows-0.2.0.0
snapshots:
- completed:
sha256: 1463586282ec6c65bd8f375be6c23560720a59d957b1a8401a861a4f09fdc196
size: 698983
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2023/11/18.yaml
original: nightly-2023-11-18
41 changes: 0 additions & 41 deletions stack-brick-1.yaml

This file was deleted.

30 changes: 0 additions & 30 deletions stack-brick-1.yaml.lock

This file was deleted.

0 comments on commit be6a92e

Please sign in to comment.