mirror of
https://codeberg.org/spire/nix.git
synced 2026-06-03 09:54:19 +02:00
fix ci
This commit is contained in:
parent
e948e00e9b
commit
7ef99e89d7
3 changed files with 17 additions and 17 deletions
30
.github/workflows/ci.yml
vendored
30
.github/workflows/ci.yml
vendored
|
|
@ -3,6 +3,18 @@ on: [push, pull_request]
|
|||
name: CI
|
||||
|
||||
jobs:
|
||||
ambuild:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v20
|
||||
- uses: icewind1991/attic-action@v1
|
||||
with:
|
||||
name: ci
|
||||
instance: https://cache.icewind.me
|
||||
authToken: '${{ secrets.ATTIC_TOKEN }}'
|
||||
- run: nix build .#ambuild
|
||||
|
||||
sdk-matrix:
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
|
|
@ -18,7 +30,7 @@ jobs:
|
|||
needs: sdk-matrix
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix: ${{fromJson(needs.hl2sdk-matrix.outputs.matrix)}}
|
||||
matrix: ${{fromJson(needs.sdk-matrix.outputs.matrix)}}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v20
|
||||
|
|
@ -29,24 +41,12 @@ jobs:
|
|||
authToken: '${{ secrets.ATTIC_TOKEN }}'
|
||||
- run: nix build .#hl2sdk.${{ matrix.sdk }}
|
||||
|
||||
ambuild:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v20
|
||||
- uses: icewind1991/attic-action@v1
|
||||
with:
|
||||
name: ci
|
||||
instance: https://cache.icewind.me
|
||||
authToken: '${{ secrets.ATTIC_TOKEN }}'
|
||||
- run: nix build .#ambuild
|
||||
|
||||
sourcemod:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [hl2sdk-matrix, ambuild, hl2sdk]
|
||||
needs: [sdk-matrix, ambuild, hl2sdk]
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix: ${{fromJson(needs.hl2sdk-matrix.outputs.matrix)}}
|
||||
matrix: ${{fromJson(needs.sdk-matrix.outputs.matrix)}}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: cachix/install-nix-action@v20
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue