diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e62c9d4b917e0013c9108b8821e9cc24bbfd9a29..64dc9c205e1e4de020cd1ec4bbba9d15b7809f44 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,16 +29,27 @@ stages: # List of stages for jobs, and their order of execution # - cmake .. # - make -build: - stage: build +.fedora-wayland: image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/fedora:34 before_script: - dnf install -y cmake wayland-devel libxkbcommon-devel wayland-protocols-devel extra-cmake-modules glew-devel glm-devel + +build:fedora-wayland: + extends: .fedora-wayland + stage: build script: - mkdir build && cd build - cmake .. - make +test:fedora-wayland: + extends: .fedora-wayland + stage: test + script: + - mkdir build && cd build + - cmake .. && make + - ./tests/testfggl/fggl_test + #unit-test-job: # This job runs in the test stage. # stage: test # It only starts when the job in the build stage completes successfully. # before_script: