mirror of
https://codeberg.org/spire/nix.git
synced 2026-06-03 18:04:10 +02:00
ci updates
This commit is contained in:
parent
4593633430
commit
1b72573e26
3 changed files with 40 additions and 59 deletions
38
.forgejo/workflows/ci.yml
Normal file
38
.forgejo/workflows/ci.yml
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
name: "CI"
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
checks:
|
||||
runs-on: nix
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: https://codeberg.org/icewind/attic-action@v1
|
||||
with:
|
||||
name: link
|
||||
instance: https://cache.icewind.link
|
||||
authToken: "${{ secrets.ATTIC_TOKEN }}"
|
||||
- run: nix flake check --keep-going
|
||||
|
||||
sourcemod:
|
||||
runs-on: nix
|
||||
needs: [checks]
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
sdk:
|
||||
- tf2
|
||||
- css
|
||||
- hl2dm
|
||||
- mcv
|
||||
- blade
|
||||
- dods
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: https://codeberg.org/icewind/attic-action@v1
|
||||
with:
|
||||
name: link
|
||||
instance: https://cache.icewind.link
|
||||
authToken: "${{ secrets.ATTIC_TOKEN }}"
|
||||
- run: nix build .#sourcemods.x86_64-linux.${{ matrix.sdk }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue