ops: Add gitea actions CI #1
@@ -72,17 +72,17 @@ jobs:
|
||||
uses: https://github.com/addnab/docker-run-action@v3
|
||||
with:
|
||||
image: cproject-builder:latest
|
||||
options: -v ${{ github.workspace }}:/builder/mnt --workdir /builder/mnt --volumes-from ${{ env.JOB_CONTAINER_NAME }}
|
||||
options: --volumes-from ${{ env.JOB_CONTAINER_NAME }}
|
||||
run: |
|
||||
/bin/bash -c "rm -rf build; cmake -B build; cmake --build build"
|
||||
/bin/bash -c "cd ${{ github.workspace }}; rm -rf build; cmake -B build; cmake --build build"
|
||||
-
|
||||
name: Test library
|
||||
uses: https://github.com/addnab/docker-run-action@v3
|
||||
with:
|
||||
image: cproject-builder:latest
|
||||
options: -v ${{ github.workspace }}:/builder/mnt --workdir /builder/mnt --volumes-from ${{ env.JOB_CONTAINER_NAME }}
|
||||
options: --volumes-from ${{ env.JOB_CONTAINER_NAME }}
|
||||
run: |
|
||||
/bin/bash -c "ceedling clobber; ceedling gcov:all; ceedling utils:gcov"
|
||||
/bin/bash -c "cd ${{ github.workspace }}/tests/unittest; ceedling clobber; ceedling gcov:all; ceedling utils:gcov"
|
||||
-
|
||||
name: Archive coverage results
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user