ci: add test jobs

update container images for split targets between distros (woodpecker
would not pull them otherwise for some reason).
This commit is contained in:
mathieui
2025-04-19 22:58:56 +02:00
parent 1a659871e4
commit 25de4c6b76
3 changed files with 28 additions and 4 deletions
+2 -2
View File
@@ -16,10 +16,10 @@ steps:
biboumi-package-image:
image: woodpeckerci/plugin-docker-buildx
settings:
repo: codeberg.org/biboumi/ci-package
repo: codeberg.org/biboumi/ci-package-${PACKAGING_IMAGE}
registry: codeberg.org
dockerfile: docker/packaging/${PACKAGING_IMAGE}/Dockerfile
tag: ${PACKAGING_IMAGE}
tag: latest
username: bibou
password:
from_secret: codeberg_token
+2 -2
View File
@@ -17,10 +17,10 @@ steps:
biboumi-test-image:
image: woodpeckerci/plugin-docker-buildx
settings:
repo: codeberg.org/biboumi/ci-test
repo: codeberg.org/biboumi/ci-test-${TEST_IMAGE}
registry: codeberg.org
dockerfile: docker/test/${TEST_IMAGE}/Dockerfile
tag: ${TEST_IMAGE}
tag: latest
username: bibou
password:
from_secret: codeberg_token
+24
View File
@@ -0,0 +1,24 @@
when:
event: [push, tag, pull_request]
path: ['CMakeLists.txt', 'src/**/*', 'tests/**/*', '.woodpecker/test.yaml']
labels:
platform: linux/amd64
steps:
build-fedora:
image: codeberg.org/biboumi/ci-test-fedora:latest
commands:
- mkdir build/
- cd build/
- cmake ..
- make everything -j$(nproc || echo 1)
test-fedora:
depends_on: [build-fedora]
image: codeberg.org/biboumi/ci-test-fedora:latest
commands:
- cd build/
- make check_junit || true; make check
# e2e is still broken (12/89 fails) for now
# - make e2e