Add Gitea CI workflow
All checks were successful
CI / build:debug (pull_request) Successful in 1m22s
CI / build:compilers (pull_request) Successful in 1m34s
CI / build:nompi (pull_request) Successful in 1m38s
CI / build:local (pull_request) Successful in 1m48s
CI / build:rt (pull_request) Successful in 1m51s
CI / build:asan (pull_request) Successful in 2m19s

This commit is contained in:
Rodrigo Arias 2024-04-29 13:50:45 +02:00 committed by Rodrigo Arias
parent 51269a478b
commit 5f4b4c6166

45
.gitea/workflows/ci.yaml Normal file
View File

@ -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