From 105284bc5a2c86910f8c72c54e63662ea2a88288 Mon Sep 17 00:00:00 2001 From: Garionion Date: Wed, 22 Mar 2023 20:15:40 +0100 Subject: [PATCH] feat: add gitea actions workflow --- .gitea/workflows/build.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .gitea/workflows/build.yml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..789ba7b --- /dev/null +++ b/.gitea/workflows/build.yml @@ -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 \ No newline at end of file