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:
|
jobs:
|
||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: garm-k8s
|
||||||
container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
|
container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
@ -14,18 +14,15 @@ jobs:
|
|||||||
- name: Unit test
|
- name: Unit test
|
||||||
run: just test
|
run: just test
|
||||||
|
|
||||||
- name: Compress test report
|
|
||||||
run: tar -czf build/test_logs.tar.gz build/meson-logs
|
|
||||||
|
|
||||||
- name: Archive test report
|
- name: Archive test report
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: test_logs
|
name: test_logs
|
||||||
path: build/test_logs.tar.gz
|
path: build/meson-logs
|
||||||
retention-days: 5
|
retention-days: 5
|
||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
runs-on: ubuntu-latest
|
runs-on: garm-k8s
|
||||||
container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
|
container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
@ -41,11 +38,11 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: coverage_report
|
name: coverage_report
|
||||||
path: build/coverage.tar.gz
|
path: build/meson-logs/coveragereport
|
||||||
retention-days: 5
|
retention-days: 5
|
||||||
|
|
||||||
static_analysis:
|
static_analysis:
|
||||||
runs-on: ubuntu-latest
|
runs-on: garm-k8s
|
||||||
container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
|
container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
@ -58,7 +55,7 @@ jobs:
|
|||||||
run: just check
|
run: just check
|
||||||
|
|
||||||
sanitize:
|
sanitize:
|
||||||
runs-on: ubuntu-latest
|
runs-on: garm-k8s
|
||||||
container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
|
container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
|
|||||||
@ -7,8 +7,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-docs:
|
build-docs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: garm-k8s
|
||||||
|
|
||||||
container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
|
container: gitea.shrukanslab.xyz/sl-devs/cpp-template/dev-environment:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
@ -20,12 +19,9 @@ jobs:
|
|||||||
- name: Build docs
|
- name: Build docs
|
||||||
run: just docs
|
run: just docs
|
||||||
|
|
||||||
- name: Compress docs
|
|
||||||
run: tar -czf build/docs.tar.gz build/docs
|
|
||||||
|
|
||||||
- name: Archive docs
|
- name: Archive docs
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: docs
|
name: docs
|
||||||
path: build/docs.tar.gz
|
path: build/docs
|
||||||
retention-days: 5
|
retention-days: 5
|
||||||
|
|||||||
Reference in New Issue
Block a user