Skip to content

Commit

Permalink
Merge pull request #99 from haskell/wip/update-ci
Browse files Browse the repository at this point in the history
Update CI
  • Loading branch information
bgamari authored Jan 24, 2025
2 parents 2d6e7a3 + 4c89baf commit f87f479
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 320 deletions.
271 changes: 0 additions & 271 deletions .github/workflows/haskell-ci.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: build
on:
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
ghc: ['9.2.3', '9.4.5', '9.6.6', '9.8.4', '9.10.1']
cabal: ['3.14.1.1']
os: [ubuntu-latest, macOS-latest, windows-latest]
exclude:
- os: macOS-latest
ghc: '9.2.3'
name: "${{ matrix.os }} - ${{ matrix.ghc }}"
steps:
- uses: actions/checkout@v4
- name: Setup Haskell
uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: ${{ matrix.cabal }}
- run: cabal check
- run: cabal update
- run: cabal build
- run: cabal test --test-show-details=direct --verbose
38 changes: 0 additions & 38 deletions appveyor.yml

This file was deleted.

7 changes: 3 additions & 4 deletions hsc2hs.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Data-Files: template-hsc.h
build-type: Simple

tested-with:
GHC == 9.12.0
GHC == 9.12.1
GHC == 9.10.1
GHC == 9.8.2
GHC == 9.6.6
Expand Down Expand Up @@ -99,8 +99,7 @@ test-suite spec
ghc-options: -Wall -threaded
type: exitcode-stdio-1.0
build-depends: base >= 4.3.0 && < 4.22,
test-framework >= 0.8.2.0 && < 0.9,
test-framework-hunit >= 0.3.0.2 && < 0.4,
HUnit >= 1.3.1.2 && < 1.4 || >= 1.6.0.0 && < 1.7
tasty >= 1.5 && < 1.6,
tasty-hunit >= 0.10 && < 0.11

default-language: Haskell2010
Loading

0 comments on commit f87f479

Please sign in to comment.