Skip to content

Commit

Permalink
Add x86 build
Browse files Browse the repository at this point in the history
  • Loading branch information
sergv committed Dec 15, 2024
1 parent 0baac6a commit 83f92f1
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion .github/workflows/haskell-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,31 @@ jobs:
cabal test --project-file "$project_file" --constraint "atomic-counter +no-cmm" --test-show-details=direct all
cabal bench --project-file "$project_file" --constraint "atomic-counter +no-cmm" --benchmark-options='--stdev 100 --timeout 100' all
i386:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
arch: ['armv7', 'aarch64']
steps:
- uses: actions/checkout@v4
- name Install
run: |
dpkg --add-architecture i386
apt-get update -y
apt-get install -y curl ghc:i386 cabal-install:i386 libghc-tasty-quickcheck-dev:i386 libghc-tasty-hunit-dev:i386
- name Build & Test
run: |
project_file="$(pwd)/cabal.project.ci"
cabal update
cabal build --project-file "$project_file" --constraint "atomic-counter +no-cmm" all
cabal test --project-file "$project_file" --constraint "atomic-counter +no-cmm" --test-show-details=direct all
cabal bench --project-file "$project_file" --constraint "atomic-counter +no-cmm" --benchmark-options='--stdev 100 --timeout 100' all
emulated:
runs-on: ubuntu-latest
strategy:
fail-fast: true
fail-fast: false
matrix:
arch: ['armv7', 'aarch64']
steps:
Expand Down

0 comments on commit 83f92f1

Please sign in to comment.