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 63a82cff81 - Show all commits

View File

@@ -22,7 +22,7 @@ jobs:
-
name: Restore docker image
id: cache-docker
uses: https://github.com/actions/cache@v3
uses: actions/cache@v3
with:
path: /tmp/docker
key: ${{ runner.os }}-docker-${{ hashFiles('builder.Dockerfile') }}
@@ -45,7 +45,7 @@ jobs:
-
name: Restore docker image
id: cache-docker
uses: https://github.com/actions/cache@v3
uses: actions/cache@v3
with:
path: /tmp/docker
key: ${{ runner.os }}-docker-${{ hashFiles('builder.Dockerfile') }}
@@ -80,13 +80,12 @@ jobs:
mkdir -p "$staging"
cp -r tests/unittest/build/artifacts/gcov "$staging"
tar czf "$staging.tar.gz" "$staging"
echo "ASSET=$staging.tar.gz" >> $GITEA_ENV
-
name: Archive artifacts
uses: actions/upload-artifact@v3
with:
name: reports-${{gitea.run_number}}
path: ${{ env.ASSET }}
path: reports-${{gitea.run_number}}.tar.gz
retention-days: 3
# TODO: delete cache on merge.