This repository has been archived by the owner on Sep 6, 2023. It is now read-only.
submodule: bump hosts/gossamer from c958720
to d7a90f9
#161
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nix Flake Integration | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
package: | |
- gossamer-adapter | |
- kagome-adapter | |
- substrate-adapter | |
- gossamer-host | |
- kagome-host | |
- substrate-host | |
- hostapi-runtime | |
- tester-runtime | |
name: "[build] ${{ matrix.package }}" | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
fetch-depth: 0 | |
- uses: cachix/install-nix-action@v19 | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: polkadot-tests | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
- name: Build ${{ matrix.package }} | |
run: | | |
nix flake lock --update-input substrate-submodule --update-input kagome-submodule --update-input gossamer-submodule | |
nix build .#${{ matrix.package }} | |
check: | |
needs: [ build ] | |
name: "[test] flake check" | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
fetch-depth: 0 | |
- uses: cachix/install-nix-action@v19 | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: polkadot-tests | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
- name: Run flake check | |
run: | | |
nix flake lock --update-input substrate-submodule --update-input kagome-submodule --update-input gossamer-submodule | |
nix flake check |