Skip to content

1.4.4: Add reverse encoders for packed repeated fields. #126

1.4.4: Add reverse encoders for packed repeated fields.

1.4.4: Add reverse encoders for packed repeated fields. #126

Workflow file for this run

name: ci
on:
push:
branches:
- master
pull_request:
jobs:
nix-build:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
ghc:
- 8107
- 902
- 928
- 948
- 962
- 981
exclude:
- os: macos-latest
ghc: 902
runs-on: ${{ matrix.os }}
steps:
- uses: actions/[email protected]
name: Checkout
- uses: cachix/install-nix-action@v22
name: Install Nix
- uses: cachix/cachix-action@v12
name: Set up Cachix
with:
name: awakesecurity
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix-build --argstr compiler ghc${{ matrix.ghc }}
name: Build Package
stack-build:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
ghc:
- 8.10.7
- 9.0.2
- 9.2.8
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Haskell
uses: haskell/actions/[email protected]
with:
ghc-version: ${{ matrix.ghc }}
enable-stack: true
stack-version: 2.11
- name: Cache dependencies
uses: actions/[email protected]
with:
path: ~/.stack
key: ${{ runner.os }}-${{ matrix.ghc }}-stack
restore-keys: |
${{ runner.os }}-${{ matrix.ghc }}-stack
- name: Build
run: stack build --system-ghc --stack-yaml stack-${{ matrix.ghc }}.yaml
- name: Test
run: stack test --system-ghc --stack-yaml stack-${{ matrix.ghc }}.yaml
# Test fails with ld warnings on macos-stack combo
# doctest fails with ghc-9.0.2 + stack: https://github.com/sol/doctest/issues/327
continue-on-error: ${{ matrix.os == 'macos-latest' || matrix.ghc == '9.0.2' }}