Skip to content

Commit f87f479

Browse files
authored
Merge pull request #99 from haskell/wip/update-ci
Update CI
2 parents 2d6e7a3 + 4c89baf commit f87f479

File tree

5 files changed

+41
-320
lines changed

5 files changed

+41
-320
lines changed

.github/workflows/haskell-ci.yml

Lines changed: 0 additions & 271 deletions
This file was deleted.

.github/workflows/validate.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: build
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
types:
8+
- opened
9+
- synchronize
10+
jobs:
11+
build:
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
ghc: ['9.2.3', '9.4.5', '9.6.6', '9.8.4', '9.10.1']
16+
cabal: ['3.14.1.1']
17+
os: [ubuntu-latest, macOS-latest, windows-latest]
18+
exclude:
19+
- os: macOS-latest
20+
ghc: '9.2.3'
21+
name: "${{ matrix.os }} - ${{ matrix.ghc }}"
22+
steps:
23+
- uses: actions/checkout@v4
24+
- name: Setup Haskell
25+
uses: haskell-actions/setup@v2
26+
with:
27+
ghc-version: ${{ matrix.ghc }}
28+
cabal-version: ${{ matrix.cabal }}
29+
- run: cabal check
30+
- run: cabal update
31+
- run: cabal build
32+
- run: cabal test --test-show-details=direct --verbose

appveyor.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

hsc2hs.cabal

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Data-Files: template-hsc.h
2828
build-type: Simple
2929

3030
tested-with:
31-
GHC == 9.12.0
31+
GHC == 9.12.1
3232
GHC == 9.10.1
3333
GHC == 9.8.2
3434
GHC == 9.6.6
@@ -99,8 +99,7 @@ test-suite spec
9999
ghc-options: -Wall -threaded
100100
type: exitcode-stdio-1.0
101101
build-depends: base >= 4.3.0 && < 4.22,
102-
test-framework >= 0.8.2.0 && < 0.9,
103-
test-framework-hunit >= 0.3.0.2 && < 0.4,
104-
HUnit >= 1.3.1.2 && < 1.4 || >= 1.6.0.0 && < 1.7
102+
tasty >= 1.5 && < 1.6,
103+
tasty-hunit >= 0.10 && < 0.11
105104

106105
default-language: Haskell2010

0 commit comments

Comments
 (0)