This repository has no description
1when:
2 - event: ["push"]
3 branch: master
4 paths:
5 - knot2/**
6 - lexicons/**
7 - Cargo.toml
8 - Cargo.lock
9 - rust-toolchain.toml
10 - .tangled/workflows/rust-test-knot.yml
11
12engine: nixery
13
14dependencies:
15 nixpkgs:
16 - gcc
17 - gnumake
18 - cmake
19 - perl
20 - gawk
21 - gnused
22 - gnugrep
23 - findutils
24 - just
25 - git-lfs
26 - openssh
27 github:nix-community/fenix/f6670530f53e69cc284f7aef818eb0f08fe81905:
28 - stable.defaultToolchain
29
30environment:
31 CARGO_INCREMENTAL: "0"
32 CARGO_PROFILE_DEV_DEBUG: "0"
33 CARGO_PROFILE_TEST_DEBUG: "0"
34 RUST_BACKTRACE: "1"
35 KNOT_LFS_CONFORMANCE: "skip"
36 GIT_CONFIG_COUNT: "2"
37 GIT_CONFIG_KEY_0: "gc.autoDetach"
38 GIT_CONFIG_VALUE_0: "false"
39 GIT_CONFIG_KEY_1: "maintenance.auto"
40 GIT_CONFIG_VALUE_1: "false"
41
42steps:
43 - name: user database for ssh-keygen and ssh
44 command: |
45 printf 'root:x:0:0::/tangled/home:/bin/bash\n' > /etc/passwd &&
46 printf 'root:x:0:\n' > /etc/group
47
48 - name: knot tests
49 command: |
50 cargo test --locked -p 'knot-*'
51
52 - name: knot instrumented tests
53 command: |
54 cd knot2 && just instrument-tests