aboutsummaryrefslogtreecommitdiffhomepage
path: root/.gitea/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.gitea/workflows')
-rw-r--r--.gitea/workflows/test.yml54
1 files changed, 45 insertions, 9 deletions
diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml
index 0ca93ab1..dcf71fde 100644
--- a/.gitea/workflows/test.yml
+++ b/.gitea/workflows/test.yml
@@ -22,37 +22,71 @@ jobs:
path: result/*
retention-days: 1
- fpkg:
- name: Fpkg
+ race:
+ name: Fortify (race detector)
runs-on: nix
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run NixOS test
- run: nix build --out-link "result" --print-out-paths --print-build-logs .#checks.x86_64-linux.fpkg
+ run: nix build --out-link "result" --print-out-paths --print-build-logs .#checks.x86_64-linux.race
- name: Upload test output
uses: actions/upload-artifact@v3
with:
- name: "fpkg-vm-output"
+ name: "fortify-race-vm-output"
path: result/*
retention-days: 1
- race:
- name: Data race detector
+ sandbox:
+ name: Sandbox
runs-on: nix
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run NixOS test
- run: nix build --out-link "result" --print-out-paths --print-build-logs .#checks.x86_64-linux.race
+ run: nix build --out-link "result" --print-out-paths --print-build-logs .#checks.x86_64-linux.sandbox
- name: Upload test output
uses: actions/upload-artifact@v3
with:
- name: "fortify-race-vm-output"
+ name: "sandbox-vm-output"
+ path: result/*
+ retention-days: 1
+
+ sandbox-race:
+ name: Sandbox (race detector)
+ runs-on: nix
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+
+ - name: Run NixOS test
+ run: nix build --out-link "result" --print-out-paths --print-build-logs .#checks.x86_64-linux.sandbox-race
+
+ - name: Upload test output
+ uses: actions/upload-artifact@v3
+ with:
+ name: "sandbox-race-vm-output"
+ path: result/*
+ retention-days: 1
+
+ fpkg:
+ name: Fpkg
+ runs-on: nix
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v4
+
+ - name: Run NixOS test
+ run: nix build --out-link "result" --print-out-paths --print-build-logs .#checks.x86_64-linux.fpkg
+
+ - name: Upload test output
+ uses: actions/upload-artifact@v3
+ with:
+ name: "fpkg-vm-output"
path: result/*
retention-days: 1
@@ -60,8 +94,10 @@ jobs:
name: Flake checks
needs:
- fortify
- - fpkg
- race
+ - sandbox
+ - sandbox-race
+ - fpkg
runs-on: nix
steps:
- name: Checkout