Skip to content

Commit

Permalink
Add 32-bit CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sergv committed Jun 13, 2023
1 parent 425a24e commit 5f1b8f2
Showing 1 changed file with 47 additions and 5 deletions.
52 changes: 47 additions & 5 deletions .github/workflows/haskell-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ jobs:
ghc:
- "8.10.7"
- "9.0.2"
- "9.2.7"
- "9.2.8"
- "9.4.5"
- "9.6.1"
- "9.6.2"
include:
- os: macOS-latest
ghc: "9.6.1"
ghc: "9.6.2"
- os: windows-latest
ghc: "9.6.1"
ghc: "9.6.2"
steps:
- uses: actions/checkout@v3
- uses: haskell/actions/setup@v2.3.7
- uses: haskell/actions/setup@v2
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
Expand Down Expand Up @@ -70,3 +70,45 @@ jobs:
cabal test --project-file cabal.project.ci --constraint "atomic-counter +no-cmm" --test-show-details=direct all
cabal bench --project-file cabal.project.ci --constraint "atomic-counter +no-cmm" --benchmark-options='--stdev 100 --timeout 100' all
i386:
needs: main
runs-on: ubuntu-latest
container:
image: i386/ubuntu:bionic

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
ghc:
- "9.2.7"
- "9.4.5"
- "9.6.1"

steps:
- uses: actions/checkout@v1
- uses: haskell/actions/setup@v2
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: "latest"
cabal-update: true
- uses: actions/cache@v2
name: Cache cabal stuff
with:
path: |
${{ steps.setup-haskell-cabal.outputs.cabal-store }}
dist-newstyle
key: ${{ runner.os }}-${{ matrix.ghc }}
- name: Cabal version
run: |
cabal --version
- name: Build & Test default
run: |
cabal sdist --ignore-project --output-directory .
cabal get atomic-counter-*.tar.gz -d default
cd default/atomic-counter-*/
cabal build --project-file cabal.project.ci all
cabal test --project-file cabal.project.ci --test-show-details=direct all
cabal bench --project-file cabal.project.ci --benchmark-options='--stdev 100 --timeout 100' all

0 comments on commit 5f1b8f2

Please sign in to comment.