feat: add build workflow
This commit is contained in:
parent
f9ab5b1b70
commit
31a3270047
2 changed files with 37 additions and 0 deletions
22
.forgejo/workflows/build.yml
Normal file
22
.forgejo/workflows/build.yml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
name: build packages
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: DeterminateSystems/nix-installer-action@v14
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: |
|
||||||
|
nix run \
|
||||||
|
github:Mic92/nix-fast-build -- \
|
||||||
|
--no-nom \
|
||||||
|
--skip-cached \
|
||||||
|
--option accept-flake-config true \
|
||||||
|
--option allow-import-from-derivation false \
|
||||||
|
--flake '.#packages'
|
15
.forgejo/workflows/test.yml
Normal file
15
.forgejo/workflows/test.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
name: do a bunch of stuff
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: DeterminateSystems/nix-installer-action@v13
|
||||||
|
|
||||||
|
- name: build derivation
|
||||||
|
run: nix build --accept-flake-config -L github:uku3lig/camasca#koi
|
Loading…
Reference in a new issue