attempt to make github do the building for me :)

This commit is contained in:
LavaDesu 2021-05-27 23:09:18 +07:00
parent 97b5f44872
commit 5dc93272cd
Signed by: cilly
GPG key ID: 6500251E087653C9
5 changed files with 61 additions and 13 deletions

35
.github/workflows/cachix.yml vendored Normal file
View file

@ -0,0 +1,35 @@
name: Cachix build
on:
push:
workflow_dispatch:
jobs:
linux:
name: Build Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: cachix/install-nix-action@v13
with:
install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-3.0pre20201007_5257a25/install
extra_nix_config: experimental-features = nix-command flakes
- uses: cachix/cachix-action@v10
with:
name: lava
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build .#linux-lava
wine:
name: Build Wine
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- uses: cachix/install-nix-action@v13
with:
install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-3.0pre20201007_5257a25/install
extra_nix_config: experimental-features = nix-command flakes
- uses: cachix/cachix-action@v10
with:
name: lava
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build .#wine-osu