Skip to content

Commit

Permalink
Merge pull request #4 from haskell/ci
Browse files Browse the repository at this point in the history
Building ci
  • Loading branch information
July541 authored Aug 25, 2024
2 parents 9dd4cc3 + 9399614 commit 7d5b787
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 2 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Building

on:
pull_request:
branches:
- '**'

jobs:
build:
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
ghc: ['9.10', '9.8', '9.6', '9.4', '9.2', '9.0', '8.10', '8.8', '8.6', '8.4', '8.2', '8.0']
os: ['ubuntu-latest', 'windows-latest']

name: Build on ${{ matrix.os }} with GHC ${{ matrix.ghc }}

steps:
- uses: actions/checkout@v4
- uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
- run: cabal build
3 changes: 1 addition & 2 deletions Data/Array/Base.hs
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,9 @@ import Foreign.C.Types
import Foreign.StablePtr

import Data.Char
import GHC.Arr ( STArray )
import GHC.Arr ( STArray, unsafeIndex )
import qualified GHC.Arr as Arr
import qualified GHC.Arr as ArrST
import GHC.Ix ( unsafeIndex )
import GHC.ST ( ST(..), runST )
import GHC.Base ( IO(..), divInt# )
import GHC.Exts
Expand Down

0 comments on commit 7d5b787

Please sign in to comment.