Skip to content

Commit

Permalink
CI: GitHub: add On-Release-Nixpkgs-integraiton
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton-Latukha committed Dec 14, 2020
1 parent fbc1fbd commit 9577d9d
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/On-Release-Nixpkgs-integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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
strategy:
matrix:
packageRoots: [ ./hnix-store-core, ./hnix-store-remote ]
defaults:
run:
working-directory: "${{ matrix.packageRoots }}"
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

0 comments on commit 9577d9d

Please sign in to comment.