2021-03-24 15:21:26 +01:00
|
|
|
default:
|
|
|
|
image: registry.fedoraproject.org/fedora-minimal:latest
|
|
|
|
|
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
- test
|
|
|
|
- trigger
|
|
|
|
|
|
|
|
build:lib:
|
|
|
|
stage: build
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
script:
|
|
|
|
- microdnf --assumeyes --nodocs install cmake gcc gcc-c++
|
|
|
|
- cmake . -Bbuild
|
|
|
|
- cmake --build build
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- build/
|
|
|
|
|
|
|
|
test:lib:
|
|
|
|
stage: test
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
needs:
|
|
|
|
- build:lib
|
|
|
|
script:
|
|
|
|
- microdnf --assumeyes --nodocs install cmake
|
|
|
|
- pushd build/tests
|
|
|
|
- ctest .
|
2021-11-17 21:01:44 +01:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- build/tests/Testing/Temporary/
|
2021-03-24 15:21:26 +01:00
|
|
|
|
|
|
|
trigger:android:
|
|
|
|
stage: trigger
|
|
|
|
trigger:
|
|
|
|
strategy: depend
|
|
|
|
include: android/.gitlab-ci.yml
|
|
|
|
|
|
|
|
trigger:javascript:
|
|
|
|
stage: trigger
|
|
|
|
trigger:
|
|
|
|
strategy: depend
|
|
|
|
include: javascript/.gitlab-ci.yml
|
|
|
|
|
|
|
|
trigger:python:
|
|
|
|
stage: trigger
|
|
|
|
trigger:
|
|
|
|
strategy: depend
|
|
|
|
include: python/.gitlab-ci.yml
|