Skip to content

Commit 4fea126

Browse files
committed
stack: add GHC 9.10 build
1 parent 37d22a4 commit 4fea126

File tree

2 files changed

+86
-0
lines changed

2 files changed

+86
-0
lines changed

.github/workflows/build.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
include:
20+
- ghc: '9.10.1'
21+
os: ubuntu-latest
22+
stack_yaml: 'stack-ghc-9.10.yaml'
23+
stack_args: ''
24+
flags: '--flag toysolver:BuildToyFMF --flag toysolver:BuildSamplePrograms --flag toysolver:BuildMiscPrograms --flag toysolver:optparse-applicative-018'
25+
platform: linux-x86_64
2026
- ghc: '9.8.4'
2127
os: ubuntu-latest
2228
stack_yaml: 'stack-ghc-9.8.yaml'

stack-ghc-9.10.yaml

+80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
# This file was automatically generated by 'stack init'
2+
#
3+
# Some commonly used options have been documented as comments in this file.
4+
# For advanced use and comprehensive documentation of the format, please see:
5+
# http://docs.haskellstack.org/en/stable/yaml_configuration/
6+
7+
# Resolver to choose a 'specific' stackage snapshot or a compiler version.
8+
# A snapshot resolver dictates the compiler version and the set of packages
9+
# to be used for project dependencies. For example:
10+
#
11+
# resolver: lts-3.5
12+
# resolver: nightly-2015-09-21
13+
# resolver: ghc-7.10.2
14+
# resolver: ghcjs-0.1.0_ghc-7.10.2
15+
# resolver:
16+
# name: custom-snapshot
17+
# location: "./custom-snapshot.yaml"
18+
resolver: nightly-2025-02-04
19+
20+
# User packages to be built.
21+
# Various formats can be used as shown in the example below.
22+
#
23+
# packages:
24+
# - some-directory
25+
# - https://example.com/foo/bar/baz-0.0.2.tar.gz
26+
# - location:
27+
# git: https://github.com/commercialhaskell/stack.git
28+
# commit: e7b331f14bcffb8367cd58fbfc8b40ec7642100a
29+
# - location: https://github.com/commercialhaskell/stack/commit/e7b331f14bcffb8367cd58fbfc8b40ec7642100a
30+
# extra-dep: true
31+
# subdirs:
32+
# - auto-update
33+
# - wai
34+
#
35+
# A package marked 'extra-dep: true' will only be built if demanded by a
36+
# non-dependency (i.e. a user package), and its test suites and benchmarks
37+
# will not be run. This is useful for tweaking upstream packages.
38+
packages:
39+
- .
40+
41+
# Dependency packages to be pulled from upstream that are not in the resolver
42+
# (e.g., acme-missiles-0.3)
43+
extra-deps:
44+
- queue-0.1.2
45+
- OptDir-0.0.3
46+
- logic-TPTP-0.6.0.0
47+
- finite-field-0.9.0
48+
- pseudo-boolean-0.1.11.0
49+
- sign-0.4.4@sha256:cec939cf1d1df68365a116f795039cb196b16a8f19ea295ed025d7075900e258,2088
50+
- bytestring-encoding-0.1.2.0
51+
- MIP-0.2.0.0@sha256:badc69dc1a72453af332175f998a6ba91f03844dea1fd2d4841852e8dcee6ca3,6363
52+
# Patched version of tasty-th for reading UTF-8 files on non UTF-8 environment.
53+
- git: https://github.com/msakai/tasty-th/
54+
commit: ebbe5a79b3c7a537ceafc6291744c4d531bef63c
55+
56+
# Override default flag values for local packages and extra-deps
57+
flags:
58+
toysolver:
59+
optparse-applicative-018: true
60+
61+
# Extra package databases containing global packages
62+
extra-package-dbs: []
63+
64+
# Control whether we use the GHC we find on the path
65+
# system-ghc: true
66+
#
67+
# Require a specific version of stack, using version ranges
68+
# require-stack-version: -any # Default
69+
# require-stack-version: ">=1.1"
70+
#
71+
# Override the architecture used by stack, especially useful on Windows
72+
# arch: i386
73+
# arch: x86_64
74+
#
75+
# Extra directories used by stack for building
76+
# extra-include-dirs: [/path/to/dir]
77+
# extra-lib-dirs: [/path/to/dir]
78+
#
79+
# Allow a newer minor version of GHC than the snapshot specifies
80+
# compiler-check: newer-minor

0 commit comments

Comments
 (0)