From b044b7649f79ef77959f538afe9c1803581479c7 Mon Sep 17 00:00:00 2001 From: Taylor Fausak Date: Fri, 28 May 2021 18:48:31 +0000 Subject: [PATCH] Test i386 in CI --- .github/workflows/ci.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0e1057b..3a61821 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -12,7 +12,6 @@ on: jobs: build: strategy: - fail-fast: false matrix: include: - { os: ubuntu-20.04, ghc: 9.0.1, cabal: 3.4.0.0 } @@ -48,3 +47,8 @@ jobs: - run: cabal check - if: github.event_name == 'release' && matrix.os == 'ubuntu-20.04' && matrix.ghc == '9.0.1' run: cabal upload --publish --username '${{ secrets.HACKAGE_USERNAME }}' --password '${{ secrets.HACKAGE_PASSWORD }}' dist-newstyle/sdist/witch-*.tar.gz + i386: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - run: docker run --rm --user 0 --volume "$PWD:$PWD" --workdir "$PWD" taylorfausak/i386-haskell@sha256:450720742fa69258c0a8589dcac28c3c6d5d34718172d935b385520f4ee9128e sh -c 'cabal update && cabal test --test-show-details direct'