From 5f4b4c6166b42348bd1daf0157f0b6cc8c039d53 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Date: Mon, 29 Apr 2024 13:50:45 +0200 Subject: [PATCH] Add Gitea CI workflow --- .gitea/workflows/ci.yaml | 45 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .gitea/workflows/ci.yaml diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml new file mode 100644 index 0000000..a00371b --- /dev/null +++ b/.gitea/workflows/ci.yaml @@ -0,0 +1,45 @@ +name: CI +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build:local: + runs-on: native + steps: + - uses: https://gitea.com/ScMi1/checkout@v1.4 + - run: nix build -L --no-link .#ovniPackages.local + + build:rt: + runs-on: native + steps: + - uses: https://gitea.com/ScMi1/checkout@v1.4 + - run: nix build -L --no-link .#ovniPackages.rt + + build:debug: + runs-on: native + steps: + - uses: https://gitea.com/ScMi1/checkout@v1.4 + - run: nix build -L --no-link .#ovniPackages.debug + + build:asan: + runs-on: native + steps: + - uses: https://gitea.com/ScMi1/checkout@v1.4 + - run: nix build -L --no-link .#ovniPackages.asan + + build:nompi: + runs-on: native + steps: + - uses: https://gitea.com/ScMi1/checkout@v1.4 + - run: nix build -L --no-link .#ovniPackages.nompi + + build:compilers: + runs-on: native + steps: + - uses: https://gitea.com/ScMi1/checkout@v1.4 + - run: nix build -L --no-link .#ovniPackages.compilers