Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump CI to GHC 9.12.1 #264

Merged
merged 5 commits into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,29 +21,29 @@ jobs:
os: [ubuntu-latest]
ghc:
- "8.0.2"
# Andreas, 2023-06-20, reduce CI load, keep only extremal GHC versions
# - "8.2.2"
# - "8.4.4"
# - "8.6.5"
# - "8.8.4"
# - "8.10.7"
# - "9.0.2"
# - "9.2.8"
# - "9.4.8"
- "8.2.2"
- "8.4.4"
- "8.6.5"
- "8.8.4"
- "8.10.7"
- "9.0.2"
- "9.2.8"
- "9.4.8"
- "9.6.6"
- "9.8.2"
- "9.10.1"
- "9.12.1"
include:
- ghc: "9.10.1"
- ghc: "9.12.1"
os: macos-latest
- ghc: "9.10.1"
- ghc: "9.12.1"
os: windows-latest

steps:
- uses: actions/checkout@v4

- uses: haskell-actions/setup@v2
id: setup-haskell-cabal
id: setup
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: "latest"
Expand All @@ -53,7 +53,7 @@ jobs:
name: Cache cabal stuff
with:
path: |
${{ steps.setup-haskell-cabal.outputs.cabal-store }}
${{ steps.setup.outputs.cabal-store }}
dist-newstyle
key: ${{ runner.os }}-${{ matrix.ghc }}

Expand Down Expand Up @@ -85,6 +85,13 @@ jobs:
export ALEX
cabal run --enable-tests alex:test:tests

- name: Test (with debugging)
run: |
cd alex-*/
ALEX="$(cabal list-bin alex)"
export ALEX
cabal run --enable-tests alex:test:tests-debug

- name: Haddock
run: |
cd alex-*/
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/emulated.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
name: emulated
on:
- push
- pull_request
push:
branches:
- master
pull_request:
branches:
- master

defaults:
run:
Expand All @@ -20,12 +24,12 @@ jobs:
matrix:
arch: ['s390x', 'ppc64le']
steps:
- uses: actions/checkout@v3
- uses: uraimo/run-on-arch-action@v2.7.2
- uses: actions/checkout@v4
- uses: uraimo/run-on-arch-action@v2
timeout-minutes: 60
with:
arch: ${{ matrix.arch }}
distro: ubuntu_rolling
distro: ubuntu_latest
githubToken: ${{ github.token }}
install: |
apt-get update -y
Expand Down
269 changes: 0 additions & 269 deletions .github/workflows/haskell-ci.yml

This file was deleted.

15 changes: 14 additions & 1 deletion alex.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ category: Development
build-type: Simple

tested-with:
GHC == 9.12.1
GHC == 9.10.1
GHC == 9.8.2
GHC == 9.8.4
GHC == 9.6.6
GHC == 9.4.8
GHC == 9.2.8
Expand Down Expand Up @@ -153,3 +154,15 @@ test-suite tests
build-depends:
base < 5
, process

test-suite tests-debug
type: exitcode-stdio-1.0
main-is: test-debug.hs
-- This line is important as it ensures that the local `exe:alex` component declared above is built before the test-suite component is invoked, as well as making sure that `alex` is made available on $PATH and `$alex_datadir` is set accordingly before invoking `test.hs`
build-tools: alex

default-language: Haskell2010

build-depends:
base < 5
, process
5 changes: 0 additions & 5 deletions cabal.haskell-ci

This file was deleted.

Loading
Loading