aboutsummaryrefslogtreecommitdiffhomepage
path: root/.gitea/workflows/nix.yml
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-01-16 17:32:52 +0900
committerOphestra <cat@gensokyo.uk>2025-01-16 17:32:52 +0900
commitb60c01f4405ec3b5cc4a740fe994c3b9f39cf01f (patch)
tree3d43cd726a26bba2336d2373a6dfe65a567a35a8 /.gitea/workflows/nix.yml
parent124743ffd3da7c31ef9c562593e15d88bb19008e (diff)
fortify: switch to static linking
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to '.gitea/workflows/nix.yml')
-rw-r--r--.gitea/workflows/nix.yml46
1 files changed, 0 insertions, 46 deletions
diff --git a/.gitea/workflows/nix.yml b/.gitea/workflows/nix.yml
deleted file mode 100644
index 36651a50..00000000
--- a/.gitea/workflows/nix.yml
+++ /dev/null
@@ -1,46 +0,0 @@
-name: Nix
-
-on:
- - push
- - pull_request
-
-jobs:
- tests:
- name: NixOS tests
- runs-on: ubuntu-latest
- steps:
- - name: Checkout
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
-
- - name: Install Nix
- uses: cachix/install-nix-action@08dcb3a5e62fa31e2da3d490afc4176ef55ecd72 # v30
- with:
- # explicitly enable sandbox
- install_options: --daemon
- extra_nix_config: |
- sandbox = true
- system-features = nixos-test benchmark big-parallel kvm
- enable_kvm: true
-
- - name: Ensure environment
- run: >-
- apt-get update && apt-get install -y sqlite3
- if: ${{ runner.os == 'Linux' }}
-
- - name: Restore Nix store
- uses: nix-community/cache-nix-action@v5
- with:
- primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix') }}
- restore-prefixes-first-match: nix-${{ runner.os }}-
-
- - name: Run tests
- run: |
- nix --print-build-logs --experimental-features 'nix-command flakes' flake check --all-systems
- nix build --out-link "result" --print-out-paths --print-build-logs .#checks.x86_64-linux.nixos-tests
-
- - name: Upload test output
- uses: actions/upload-artifact@v3
- with:
- name: "result"
- path: result/*
- retention-days: 1