gRPC-haskell/.github/workflows/ci.yml

32 lines
647 B
YAML
Raw Permalink Normal View History

name: ci
2022-07-21 03:40:56 +02:00
on:
push:
branches:
2022-07-21 03:40:56 +02:00
- '*'
pull_request:
2022-07-21 03:40:56 +02:00
branches:
- '*'
jobs:
2022-07-21 03:40:56 +02:00
nix-build:
strategy:
matrix:
2022-07-21 03:40:56 +02:00
os: [ubuntu-latest, macOS-latest]
2022-07-21 04:22:54 +02:00
attr: [grpc]
2022-07-21 03:40:56 +02:00
runs-on: ${{ matrix.os }}
2022-07-21 03:40:56 +02:00
steps:
2022-07-21 03:40:56 +02:00
- uses: actions/checkout@v2.4.0
- name: Install Nix
uses: cachix/install-nix-action@v15
with:
2022-07-21 03:40:56 +02:00
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
system-features = nixos-test benchmark big-parallel kvm
- name: Nix build for “${{ matrix.attr }}” on ${{ matrix.os }}
run: nix-build -A ${{ matrix.attr }}