From 573df44a8e3005c73fc3bff1c86a3e7c964d499d Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Mon, 18 Sep 2023 07:13:37 +0200 Subject: [PATCH] test if evals --- .gitea/workflows/test.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .gitea/workflows/test.yml diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml new file mode 100644 index 0000000..555495c --- /dev/null +++ b/.gitea/workflows/test.yml @@ -0,0 +1,26 @@ +name: "Test" +on: + pull_request: + push: +jobs: + evals: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: apt-get update && apt-get -y install sudo + - uses: https://github.com/cachix/install-nix-action@v23 + - run: echo -e "show-trace = true\nmax-jobs = auto\ntrusted-users = root\nexperimental-features = nix-command flakes\nbuild-users-group =" > /etc/nix/nix.conf + - run: nix flake check + builds: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - run: apt-get update && apt-get -y install sudo + - uses: https://github.com/cachix/install-nix-action@v23 + - run: echo -e "show-trace = true\nmax-jobs = auto\ntrusted-users = root\nexperimental-features = nix-command flakes\nbuild-users-group =" > /etc/nix/nix.conf + - run: nix build --keep-going .#nixosConfigurations.bekkalokk.config.system.build.toplevel || exit 0 + - run: nix build --keep-going .#nixosConfigurations.bicep.config.system.build.toplevel || exit 0 + - run: nix build --keep-going .#nixosConfigurations.brzeczyszczykiewicz.config.system.build.toplevel || exit 0 + - run: nix build --keep-going .#nixosConfigurations.georg.config.system.build.toplevel || exit 0 + - run: nix build --keep-going .#nixosConfigurations.ildkule.config.system.build.toplevel || exit 0 + - run: nix build --keep-going .#nixosConfigurations.shark.config.system.build.toplevel || exit 0