Skip to content
Snippets Groups Projects
Commit a05b4034 authored by Joseph Walton-Rivers's avatar Joseph Walton-Rivers
Browse files

avoid repetiton in ci script

parent d25fe748
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment