Skip to content

Commit 68b0955

Browse files
committed
Update the github CI
1 parent 4593afd commit 68b0955

File tree

1 file changed

+79
-31
lines changed

1 file changed

+79
-31
lines changed

.github/workflows/haskell.yml

Lines changed: 79 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
# Github has machines with 2 CPUS and 6GB memory so the cabal jobs
3434
# default (ncpus) is good, this can be checked from the packcheck
3535
# output in case it changes.
36-
CABAL_BUILD_OPTIONS: ${{ matrix.cabal_build_options }} --flag limit-build-mem
36+
CABAL_BUILD_OPTIONS: ${{ matrix.cabal_build_options }}
3737
CABAL_BUILD_TARGETS: ${{ matrix.cabal_build_targets }}
3838
CABAL_PROJECT: ${{ matrix.cabal_project }}
3939
CABAL_CHECK_RELAX: y
@@ -47,7 +47,7 @@ jobs:
4747
# packcheck location and revision
4848
PACKCHECK: "./packcheck.sh"
4949
PACKCHECK_GITHUB_URL: "https://raw.githubusercontent.com/composewell/packcheck"
50-
PACKCHECK_GITHUB_COMMIT: "v0.7.0"
50+
PACKCHECK_GITHUB_COMMIT: "e575ff318c93add2a6d3f9107a52c5e37c666a98"
5151

5252
# Pull token from "secrets" setting of the github repo
5353
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
@@ -68,7 +68,7 @@ jobs:
6868
matrix:
6969
# The order is important to optimize fail-fast.
7070
name:
71-
- 9.8.1-Werror
71+
- 9.10.1-Werror
7272
# - 9.8.1-docspec
7373
# - 8.10.7-coverage
7474

@@ -90,36 +90,79 @@ jobs:
9090
ghcup_ghc_options: "-u https://gitlab.haskell.org/ghc/ghc/-/jobs/artifacts/master/raw/ghc-x86_64-linux-deb10-int_native-validate.tar.xz?job=x86_64-linux-deb10-int_native-validate"
9191
runner: ubuntu-latest
9292
build: cabal
93-
cabal_version: 3.10.2.0
93+
cabal_build_options: "--flag limit-build-mem"
94+
cabal_version: 3.12.1.0
9495
cabal_project: cabal.project.ghc-head
9596
disable_sdist_build: "y"
9697
ignore_error: true
98+
- name: 9.12.1
99+
ghc_version: 9.12.1
100+
runner: ubuntu-latest
101+
build: cabal
102+
cabal_build_options: "--flag limit-build-mem"
103+
cabal_version: 3.12.1.0
104+
disable_sdist_build: "y"
105+
cabal_project: cabal.project
106+
ignore_error: false
97107
# Note: use linux for warning build for convenient dev testing
98-
- name: 9.8.1-Werror
99-
ghc_version: 9.8.1
108+
- name: 9.10.1-Werror
109+
ghc_version: 9.10.1
100110
runner: ubuntu-latest
101111
build: cabal
102-
cabal_version: 3.10.1.0
112+
cabal_build_options: "--flag limit-build-mem"
113+
cabal_version: 3.12.1.0
103114
disable_sdist_build: "y"
104115
cabal_project: cabal.project.Werror
105116
ignore_error: false
106-
#- name: 9.8.1-docspec
107-
# ghc_version: 9.8.1
108-
# runner: ubuntu-latest
109-
# build: cabal
110-
# cabal_version: 3.10.1.0
111-
# cabal_project: cabal.project.doctest
112-
# disable_test: "y"
113-
# disable_bench: "y"
114-
# disable_docs: "y"
115-
# enable_docspec: "y"
116-
# disable_sdist_build: "y"
117-
# ignore_error: false
117+
- name: 9.10.1-macos
118+
ghc_version: 9.10.1
119+
runner: macos-latest
120+
build: cabal
121+
cabal_build_options: "--flag limit-build-mem"
122+
cabal_version: 3.12.1.0
123+
disable_sdist_build: "y"
124+
cabal_project: cabal.project
125+
ignore_error: false
126+
- name: 9.10.1-fusion-inspection
127+
ghc_version: 9.10.1
128+
runner: ubuntu-latest
129+
build: cabal
130+
cabal_version: 3.12.1.0
131+
disable_sdist_build: "y"
132+
cabal_project: cabal.project
133+
cabal_build_options: "--flag fusion-plugin --flag inspection"
134+
ignore_error: false
135+
- name: 9.8.2-macos-stack
136+
runner: macos-latest
137+
build: stack
138+
resolver: nightly-2024-09-26
139+
stack_yaml: stack.yaml
140+
disable_docs: "y"
141+
disable_sdist_build: "y"
142+
disable_dist_checks: "y"
143+
disable_test: "y"
144+
disable_bench: "y"
145+
#sdist_options: "--ignore-check"
146+
stack_build_options: "-v"
147+
cabal_version: 3.12.1.0
148+
ignore_error: true
149+
# - name: 9.8.1-docspec
150+
# ghc_version: 9.8.1
151+
# runner: ubuntu-latest
152+
# build: cabal
153+
# cabal_version: 3.10.1.0
154+
# cabal_project: cabal.project.doctest
155+
# disable_test: "y"
156+
# disable_bench: "y"
157+
# disable_docs: "y"
158+
# enable_docspec: "y"
159+
# disable_sdist_build: "y"
160+
# ignore_error: false
118161
- name: 9.8.1-fusion-inspection
119162
ghc_version: 9.8.1
120163
runner: ubuntu-latest
121164
build: cabal
122-
cabal_version: 3.10.1.0
165+
cabal_version: 3.12.1.0
123166
disable_sdist_build: "y"
124167
cabal_project: cabal.project
125168
cabal_build_options: "--flag fusion-plugin --flag inspection"
@@ -132,10 +175,11 @@ jobs:
132175
disable_sdist_build: "y"
133176
cabal_project: cabal.project
134177
ignore_error: false
135-
- name: 9.4.7
178+
- name: 9.4.7-lstat-readir
136179
ghc_version: 9.4.7
137180
runner: ubuntu-latest
138181
build: cabal
182+
cabal_build_options: "--flag force-lstat-readdir"
139183
cabal_version: 3.8.1.0
140184
disable_sdist_build: "y"
141185
cabal_project: cabal.project
@@ -162,14 +206,16 @@ jobs:
162206
cabal_version: 3.6.2.0
163207
subdir: core
164208
ignore_error: false
165-
- name: 8.10.7-streamly-sdist-stack
209+
- name: 8.10.7-noopt
210+
ghc_version: 8.10.7
166211
runner: ubuntu-latest
167-
build: stack
168-
resolver: lts-20.13
169-
stack_yaml: stack.yaml
170-
sdist_options: "--ignore-check"
171-
stack_build_options: "--flag streamly-benchmarks:-opt"
212+
build: cabal
172213
cabal_version: 3.6.2.0
214+
cabal_project: cabal.project
215+
disable_sdist_build: "y"
216+
disable_docs: "y"
217+
disable_dist_checks: "y"
218+
cabal_build_options: "--flags \"-opt\""
173219
ignore_error: false
174220
# - name: 8.10.7-coverage
175221
# ghc_version: 8.10.7
@@ -184,6 +230,7 @@ jobs:
184230
cabal_version: 3.6.2.0
185231
cabal_project: cabal.project
186232
disable_sdist_build: "y"
233+
disable_docs: "y"
187234
ignore_error: false
188235
- name: 8.6.5-debug-unoptimized
189236
ghc_version: 8.6.5
@@ -193,11 +240,12 @@ jobs:
193240
cabal_project: cabal.project
194241
cabal_build_options: "--flag debug --flag -opt"
195242
disable_sdist_build: "y"
243+
disable_docs: "y"
196244
ignore_error: false
197-
- name: hlint
198-
build: hlint
199-
runner: ubuntu-latest
200-
ignore_error: true
245+
# - name: hlint
246+
# build: hlint
247+
# runner: ubuntu-latest
248+
# ignore_error: true
201249

202250
steps:
203251
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)