aboutsummaryrefslogtreecommitdiffhomepage
path: root/.gitea
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-03-30 22:03:48 +0900
committerOphestra <cat@gensokyo.uk>2025-03-30 22:09:46 +0900
commit297b444dfb6adb71d5d1e61ea1b5aff16683896e (patch)
tree61136bffe95aae67baa436b20ce60b7b9074d126 /.gitea
parent89a05909a4fb393864a8aa752f6979dd9aaa2898 (diff)
test: separate app and sandbox
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to '.gitea')
-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