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
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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user