mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-12-26 19:59:45 +01:00
debugging: update ci configuration
This commit is contained in:
parent
112777023f
commit
2740690381
1 changed files with 20 additions and 14 deletions
34
.github/workflows/ci.yml
vendored
34
.github/workflows/ci.yml
vendored
|
@ -1,25 +1,31 @@
|
|||
name: ci
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- '*'
|
||||
pull_request:
|
||||
branches:
|
||||
- '*'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
nix-build:
|
||||
strategy:
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- macos-10.15
|
||||
os: [ubuntu-latest, macOS-latest]
|
||||
attr: [grpc-haskell-core grpc-haskell grpc]
|
||||
|
||||
runs-on: ${{ matrix.os }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.4
|
||||
name: Checkout
|
||||
- uses: cachix/install-nix-action@v13
|
||||
name: Install Nix
|
||||
- uses: cachix/cachix-action@v10
|
||||
name: Set up Cachix
|
||||
- uses: actions/checkout@v2.4.0
|
||||
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v15
|
||||
with:
|
||||
name: awakesecurity
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
- run: nix-build --attr grpc-haskell
|
||||
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 }}
|
||||
|
|
Loading…
Reference in a new issue