Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Game Library
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Onuralp SEZER
Game Library
Commits
a05b4034
Commit
a05b4034
authored
3 years ago
by
Joseph Walton-Rivers
Browse files
Options
Downloads
Patches
Plain Diff
avoid repetiton in ci script
parent
d25fe748
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+13
-2
13 additions, 2 deletions
.gitlab-ci.yml
with
13 additions
and
2 deletions
.gitlab-ci.yml
+
13
−
2
View file @
a05b4034
...
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment