Compare commits
2 commits
a4d3bc7c0c
...
08ea3271c1
Author | SHA1 | Date | |
---|---|---|---|
08ea3271c1 | |||
8787adae30 |
2 changed files with 6 additions and 18 deletions
|
@ -16,28 +16,16 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
nix --version
|
nix --version
|
||||||
nix build --print-build-logs .#
|
nix build --print-build-logs .#
|
||||||
check:
|
test:
|
||||||
needs: build # we use the built binaries in the checks
|
needs: build # we use the built binaries in the checks
|
||||||
runs-on: nixos
|
runs-on: nixos
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
check:
|
|
||||||
- treefmt
|
|
||||||
- clippy
|
|
||||||
- nextest
|
|
||||||
- module-ipv4-test
|
|
||||||
- module-ipv6-test
|
|
||||||
- module-nginx-test
|
|
||||||
- module-ipv4-only-test
|
|
||||||
- module-ipv6-only-test
|
|
||||||
steps:
|
steps:
|
||||||
- uses: https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
- uses: https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||||
- name: Check
|
- name: Run tests
|
||||||
run: |
|
run: |
|
||||||
set -x
|
|
||||||
nix --version
|
nix --version
|
||||||
# shellcheck disable=SC2016
|
nix-fast-build --max-jobs 2 --no-nom --skip-cached --no-link \
|
||||||
nix build --print-build-logs '.#checks.x86_64-linux.${{ matrix.check }}'
|
--flake ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem)"
|
||||||
report-size:
|
report-size:
|
||||||
runs-on: nixos
|
runs-on: nixos
|
||||||
needs: build
|
needs: build
|
||||||
|
|
4
Cargo.lock
generated
4
Cargo.lock
generated
|
@ -495,9 +495,9 @@ checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "linux-raw-sys"
|
name = "linux-raw-sys"
|
||||||
version = "0.9.2"
|
version = "0.9.3"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "6db9c683daf087dc577b7506e9695b3d556a9f3849903fa28186283afd6809e9"
|
checksum = "fe7db12097d22ec582439daf8618b8fdd1a7bef6270e9af3b1ebcd30893cf413"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "log"
|
name = "log"
|
||||||
|
|
Loading…
Add table
Reference in a new issue