debugging: update ci configuration

This commit is contained in:
Viacheslav Lotsmanov 2022-07-21 04:40:56 +03:00
parent 112777023f
commit 2740690381
No known key found for this signature in database
GPG key ID: D276FF7467007335

View file

@ -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 }}