mirror of
https://github.com/haskell-nix/hnix-store.git
synced 2024-09-11 18:05:56 +03:00
CI: GitHub: add On-Release-Nixpkgs-integraiton
This commit is contained in:
parent
4a1c1a2697
commit
5936b03ae4
34
.github/workflows/On-Release-Nixpkgs-integration.yml
vendored
Normal file
34
.github/workflows/On-Release-Nixpkgs-integration.yml
vendored
Normal file
@ -0,0 +1,34 @@
|
||||
name: "Direct import & build inside Nixpkgs"
|
||||
|
||||
on:
|
||||
release:
|
||||
# created: a draft is saved, or a release or pre-release is published without previously being saved as a draft
|
||||
types: [ created ]
|
||||
|
||||
jobs:
|
||||
|
||||
build10:
|
||||
name: "Clean integration test"
|
||||
runs-on: ubuntu-latest
|
||||
continue-on-error: true
|
||||
strategy:
|
||||
matrix:
|
||||
packageRoot: [ hnix-store-core, hnix-store-remote ]
|
||||
defaults:
|
||||
run:
|
||||
working-directory: "./${{ matrix.packageRoot }}"
|
||||
steps:
|
||||
- name: "Git checkout"
|
||||
uses: actions/checkout@v2
|
||||
- name: "Local cache"
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: |
|
||||
/nix/store
|
||||
key: ${{ runner.os }}-Nixpkgs-integration-test
|
||||
- name: "Install Nix"
|
||||
uses: cachix/install-nix-action@v12
|
||||
with:
|
||||
nix_path: "nixpkgs=channel:nixos-unstable"
|
||||
- name: "Run Nixpkgs integration test"
|
||||
uses: Anton-Latukha/test-haskell-nixpkgs-integration-action@v1
|
Loading…
Reference in New Issue
Block a user