ops: Add gitea actions CI #1

Merged
brock merged 19 commits from feature/gitea_actions into main 2024-01-27 23:18:48 -08:00
Showing only changes of commit 6c0b9c6b5c - Show all commits

View File

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