Skip to content

Fix infinite loop in isSubmapOf[By] / isSubsetOf on 32-bit platforms #1

Fix infinite loop in isSubmapOf[By] / isSubsetOf on 32-bit platforms

Fix infinite loop in isSubmapOf[By] / isSubsetOf on 32-bit platforms #1

Workflow file for this run

name: 32bit-ci
on:
push:
branches:
- master
- bytestring-0.11
- bytestring-0.12
pull_request: {} # Validate all PRs
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: true
matrix:
os: [ubuntu-latest]
ghc: ['8.6', '8.8', '8.10', '9.0', '9.2', '9.4', '9.6', '9.8', '9.10', '9.12']
include:
- os: macOS-latest
ghc: 'latest'
steps:
- uses: actions/checkout@v4
- uses: haskell-actions/setup@v2
id: setup-haskell-cabal
with:
ghc-version: ${{ matrix.ghc }}
- name: Update cabal package database
run: cabal update
- uses: actions/cache@v3
name: Cache cabal stuff
with:
path: |
${{ steps.setup-haskell-cabal.outputs.cabal-store }}
dist-newstyle
key: ${{ runner.os }}-${{ matrix.ghc }}
- name: Test
run: |
cabal sdist -z -o .
cabal get bytestring-*.tar.gz
cd bytestring-*/
cabal build bytestring:tests --enable-tests --enable-benchmarks
cabal test --enable-tests --enable-benchmarks --test-show-details=direct all
- name: Bench
run: |
cd bytestring-*/
cabal bench --enable-tests --enable-benchmarks --benchmark-option=-l all
- name: Haddock
run: |
cd bytestring-*/
cabal haddock all
- name: Cabal check
run: |
cd bytestring-*/
cabal check
i386:
needs: build
runs-on: ubuntu-latest
container:
image: i386/ubuntu:bionic
steps:
- name: Install
run: |
apt-get update -y
apt-get install -y autoconf build-essential zlib1g-dev libgmp-dev curl libncurses5 libtinfo5 libncurses5-dev libtinfo-dev
curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | BOOTSTRAP_HASKELL_NONINTERACTIVE=1 BOOTSTRAP_HASKELL_INSTALL_NO_STACK=1 sh
- uses: actions/checkout@v1 #This version must stay old enough to remain compatible with the container image
- name: Test
run: |
source ~/.ghcup/env
cabal update
cabal test