workflow
This commit is contained in:
12
.github/workflows/build.yml
vendored
Normal file
12
.github/workflows/build.yml
vendored
Normal 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
|
||||||
@@ -10,6 +10,8 @@
|
|||||||
flake-utils.lib.simpleFlake {
|
flake-utils.lib.simpleFlake {
|
||||||
inherit self nixpkgs;
|
inherit self nixpkgs;
|
||||||
name = "stardust-xr";
|
name = "stardust-xr";
|
||||||
|
systems = [ "x86_64-linux" "aarch64-linux" ];
|
||||||
|
|
||||||
overlay = pkgs: prev:
|
overlay = pkgs: prev:
|
||||||
let
|
let
|
||||||
toolchain = fenix.packages.${pkgs.system}.minimal.toolchain;
|
toolchain = fenix.packages.${pkgs.system}.minimal.toolchain;
|
||||||
|
|||||||
Reference in New Issue
Block a user