From d5d5f2fcd4d8d4fc2d3e4f6ee25e4ad814f8505a 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