mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-15 23:59:42 +01:00
31 lines
680 B
YAML
31 lines
680 B
YAML
name: ci
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
pull_request:
|
|
branches:
|
|
- '*'
|
|
|
|
jobs:
|
|
nix-build:
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macOS-latest]
|
|
attr: [grpc-haskell-core, grpc-haskell, grpc]
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2.4.0
|
|
|
|
- name: Install Nix
|
|
uses: cachix/install-nix-action@v15
|
|
with:
|
|
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 }}
|