feat: add gitea actions workflow
This commit is contained in:
parent
2bc35c1a26
commit
105284bc5a
14
.gitea/workflows/build.yml
Normal file
14
.gitea/workflows/build.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
name: "Test"
|
||||
on: [push]
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: apt update
|
||||
- run: apt install sudo -y
|
||||
- run: whoami
|
||||
- run: sh <(curl -L https://nixos.org/nix/install) --daemon --yes --no-channel-add --daemon-user-count 4
|
||||
- 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