From 32307400975368397e8c79a0d57dc65cd4e34c43 Mon Sep 17 00:00:00 2001 From: Johanna Larsson Date: Fri, 25 Sep 2026 12:11:28 +0100 Subject: [PATCH] ci: split workflow into two and apply flags Taking some flags from the knot2 build and splitting it in the hopes that that's enough time to finish --- .tangled/workflows/{ci.yml => lint.yml} | 6 +++--- .tangled/workflows/test.yml | 24 ++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 3 deletions(-) rename .tangled/workflows/{ci.yml => lint.yml} (85%) create mode 100644 .tangled/workflows/test.yml diff --git a/.tangled/workflows/ci.yml b/.tangled/workflows/lint.yml similarity index 85% rename from .tangled/workflows/ci.yml rename to .tangled/workflows/lint.yml index 0ff1512..38fb090 100644 --- a/.tangled/workflows/ci.yml +++ b/.tangled/workflows/lint.yml @@ -5,6 +5,9 @@ when: engine: microvm image: nixos +environment: + CARGO_INCREMENTAL: "0" + dependencies: - rustup - gcc @@ -12,7 +15,6 @@ dependencies: - openssl - protobuf - just - - cargo-nextest steps: - name: fmt @@ -21,5 +23,3 @@ steps: command: cargo check --all-targets - name: clippy command: just clippy - - name: test - command: just test diff --git a/.tangled/workflows/test.yml b/.tangled/workflows/test.yml new file mode 100644 index 0000000..1ff472e --- /dev/null +++ b/.tangled/workflows/test.yml @@ -0,0 +1,24 @@ +when: + - event: ["push", "pull_request"] + branch: ["main"] + +engine: microvm +image: nixos + +environment: + CARGO_INCREMENTAL: "0" + CARGO_PROFILE_DEV_DEBUG: "0" + CARGO_PROFILE_TEST_DEBUG: "0" + +dependencies: + - rustup + - gcc + - pkg-config + - openssl + - protobuf + - just + - cargo-nextest + +steps: + - name: test + command: just test