Add an experimental feature to directly encode #269
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
compiler: | |
- ghc902 | |
- ghc928 | |
- ghc948 | |
- ghc965 | |
- ghc982 | |
dhall: | |
- false | |
- true | |
swagger: | |
- false | |
- true | |
swaggerWrapper: | |
- false | |
- true | |
largeRecords: | |
- false | |
- true | |
exclude: | |
- swagger: false | |
swaggerWrapper: true | |
- compiler: ghc965 | |
largeRecords: true | |
- compiler: ghc982 | |
largeRecords: true | |
- compiler: ghc902 | |
os: macos-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3.5.3 | |
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 --attr proto3-suite --argstr compiler "${{ matrix.compiler }}" --arg enableDhall "${{ matrix.dhall }}" --arg enableSwagger "${{ matrix.swagger }}" --arg swaggerWrapperFormat "${{ matrix.swaggerWrapper }}" --arg enableLargeRecords "${{ matrix.largeRecords }}" |