ci: update ci for cluster
Some checks failed
Build Docs / build-docs (push) Has been cancelled
Build and Test Code / test (push) Failing after 1s
Build and Test Code / coverage (push) Failing after 2s
Build and Test Code / static_analysis (push) Failing after 1s
Build and Test Code / sanitize (push) Failing after 1s

This commit is contained in:
Shrukan
2025-07-06 18:07:26 -06:00
parent e621cb84c7
commit c18654a0a8
2 changed files with 8 additions and 15 deletions

View File

@ -5,7 +5,7 @@ on:
jobs:
test:
runs-on: ubuntu-latest
runs-on: garm-k8s
container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
steps:
- name: Check out repository code
@ -14,18 +14,15 @@ jobs:
- name: Unit test
run: just test
- name: Compress test report
run: tar -czf build/test_logs.tar.gz build/meson-logs
- name: Archive test report
uses: actions/upload-artifact@v3
with:
name: test_logs
path: build/test_logs.tar.gz
path: build/meson-logs
retention-days: 5
coverage:
runs-on: ubuntu-latest
runs-on: garm-k8s
container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
steps:
- name: Check out repository code
@ -41,11 +38,11 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: coverage_report
path: build/coverage.tar.gz
path: build/meson-logs/coveragereport
retention-days: 5
static_analysis:
runs-on: ubuntu-latest
runs-on: garm-k8s
container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
steps:
- name: Check out repository code
@ -58,7 +55,7 @@ jobs:
run: just check
sanitize:
runs-on: ubuntu-latest
runs-on: garm-k8s
container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
steps:
- name: Check out repository code

View File

@ -7,8 +7,7 @@ on:
jobs:
build-docs:
runs-on: ubuntu-latest
runs-on: garm-k8s
container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
steps:
- name: Check out repository code
@ -20,12 +19,9 @@ jobs:
- name: Build docs
run: just docs
- name: Compress docs
run: tar -czf build/docs.tar.gz build/docs
- name: Archive docs
uses: actions/upload-artifact@v3
with:
name: docs
path: build/docs.tar.gz
path: build/docs
retention-days: 5