This commit is contained in:
Astavie
2023-03-14 19:46:39 +01:00
parent 561b7d28ea
commit f8b1724d3a
2 changed files with 14 additions and 0 deletions

12
.github/workflows/build.yml vendored Normal file
View File

@@ -0,0 +1,12 @@
name: build
on: [pull_request, push]
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v19
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- run: nix build
- run: nix flake check

View File

@@ -10,6 +10,8 @@
flake-utils.lib.simpleFlake {
inherit self nixpkgs;
name = "stardust-xr";
systems = [ "x86_64-linux" "aarch64-linux" ];
overlay = pkgs: prev:
let
toolchain = fenix.packages.${pkgs.system}.minimal.toolchain;