Add workflow to build and test
All checks were successful
Build & Test / nix-build (push) Successful in 1m29s
All checks were successful
Build & Test / nix-build (push) Successful in 1m29s
This commit is contained in:
parent
77912a1d84
commit
b0a85aaefc
22
.gitea/workflows/build.yaml
Normal file
22
.gitea/workflows/build.yaml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
name: Build & Test
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
nix-build:
|
||||||
|
runs-on: nix
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Run checks
|
||||||
|
run: nix flake check
|
||||||
|
- name: Build
|
||||||
|
run: nix build
|
||||||
|
- name: Upload build artifacts
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
path: result
|
||||||
|
name: build
|
Loading…
Reference in New Issue
Block a user