lix/.github/workflows/test.yml

25 lines
847 B
YAML
Raw Normal View History

2020-03-13 11:57:58 +01:00
name: "Test"
on:
pull_request:
push:
jobs:
tests:
strategy:
matrix:
2020-05-15 10:06:14 +02:00
os: [ubuntu-latest, macos-latest]
2020-03-13 11:57:58 +01:00
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v10
- run: nix-build release.nix --arg nix '{ outPath = ./.; revCount = 123; shortRev = "abcdefgh"; }' --arg systems '[ builtins.currentSystem ]' -A installerScript -A perlBindings
macos_perf_test:
runs-on: macos-latest
steps:
- name: Disable syspolicy assessments
run: |
spctl --status
sudo spctl --master-disable
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v10
- run: nix-build release.nix --arg nix '{ outPath = ./.; revCount = 123; shortRev = "abcdefgh"; }' --arg systems '[ builtins.currentSystem ]' -A installerScript -A perlBindings