mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-12-27 12:19:46 +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
|
name: ci
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- '*'
|
||||||
pull_request:
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- '*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
nix-build:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os:
|
os: [ubuntu-latest, macOS-latest]
|
||||||
- ubuntu-latest
|
attr: [grpc-haskell-core grpc-haskell grpc]
|
||||||
- macos-10.15
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.4.0
|
||||||
name: Checkout
|
|
||||||
- uses: cachix/install-nix-action@v13
|
- name: Install Nix
|
||||||
name: Install Nix
|
uses: cachix/install-nix-action@v15
|
||||||
- uses: cachix/cachix-action@v10
|
|
||||||
name: Set up Cachix
|
|
||||||
with:
|
with:
|
||||||
name: awakesecurity
|
extra_nix_config: |
|
||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
||||||
- run: nix-build --attr grpc-haskell
|
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