feat: add gitea actions workflow
This commit is contained in:
parent
2bc35c1a26
commit
a4aa1f063c
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
|
||||||
|
container:
|
||||||
|
image: nixery.dev/shell/nix/sleep/curl
|
||||||
|
options: --entrypoint /usr/bin/env sleep 3600
|
||||||
|
steps:
|
||||||
|
- run: whoami
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- 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