-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Preparation to add support for GHC versions newer than 9.2
- Loading branch information
1 parent
d42ce09
commit 9b61e4f
Showing
7 changed files
with
138 additions
and
39 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,55 @@ | ||
name: Continuous Integration | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
continuous-integration: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ghc-version: | ||
- "8.10.7" | ||
- "9.0.2" | ||
- "9.2.8" | ||
- "9.4.8" | ||
- "9.6.6" | ||
- "9.8.2" | ||
- "9.10.1" | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install cabal/ghc | ||
uses: haskell-actions/setup@v2 | ||
id: setup-haskell | ||
with: | ||
ghc-version: ${{ matrix.ghc-version }} | ||
cabal-version: '3.10.3.0' | ||
|
||
- name: Generate freeze file | ||
run: | | ||
cabal update | ||
cabal configure --disable-optimization --enable-tests | ||
cabal freeze | ||
- name: Cache cabal work | ||
uses: actions/cache@v4 | ||
with: | ||
path: | | ||
dist-newstyle | ||
${{ steps.setup-haskell.outputs.cabal-store }} | ||
key: ${{ runner.os }}-${{ hashFiles('cabal.project.freeze', 'cabal.project.local') }}-cabal-install | ||
|
||
- name: Build dependencies | ||
run: | | ||
cabal build all --only-dependencies | ||
- name: Build packages | ||
run: | | ||
cabal build all | ||
- name: Run tests | ||
run: | | ||
cabal test all |
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,2 +1,24 @@ | ||
.stack-work | ||
/stack.yaml | ||
dist | ||
dist-* | ||
cabal-dev | ||
*.o | ||
*.hi | ||
*.hie | ||
*.chi | ||
*.chs.h | ||
*.dyn_o | ||
*.dyn_hi | ||
.hpc | ||
.hsenv | ||
.cabal-sandbox/ | ||
cabal.sandbox.config | ||
*.prof | ||
*.aux | ||
*.hp | ||
*.eventlog | ||
cabal.project.local | ||
cabal.project.local~ | ||
.HTF/ | ||
.ghc.environment.* |
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,22 @@ | ||
packages: repa/repa.cabal | ||
repa-algorithms/repa-algorithms.cabal | ||
repa-examples/repa-examples.cabal | ||
repa-io/repa-io.cabal | ||
|
||
-- Packages below are ignored until they can be updated | ||
-- to support newer GHCs | ||
-- repa-convert/repa-convert.cabal | ||
-- repa-eval/repa-eval.cabal | ||
-- repa-scalar/repa-scalar.cabal | ||
-- repa-stream/repa-stream.cabal | ||
|
||
-- We ignore some packages which depend on repa-array rather than repa | ||
-- repa-array/repa-array.cabal | ||
-- repa-flow/repa-flow.cabal | ||
-- repa-query/repa-query.cabal | ||
-- repa-tools/repa-tools.cabal | ||
-- repa-store/repa-store.cabal | ||
-- repa-machine/repa-machine.cabal | ||
|
||
|
||
minimize-conflict-set: true |
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
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
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
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