feat: add gitea actions workflow
This commit is contained in:
parent
2bc35c1a26
commit
79551adad5
13
.gitea/workflows/build.yml
Normal file
13
.gitea/workflows/build.yml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
name: "Test"
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- run: apt update
|
||||||
|
- run: apt install sudo -y
|
||||||
|
- run: sh <(curl -L https://nixos.org/nix/install) --daemon --yes --no-channel-add
|
||||||
|
- run: nix-channel --add https://nixos.org/channels/nixos-unstable-small nixpkgs
|
||||||
|
- run: nix-channel --update
|
||||||
|
- run: nix build
|
Loading…
Reference in a new issue