Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
David Geisler
pe-tools-lsh
Commits
02a418b6
Commit
02a418b6
authored
Nov 15, 2019
by
David Geisler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify build scripts
parent
95f8e3c4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
10 deletions
+22
-10
.gitlab-ci.yml
.gitlab-ci.yml
+20
-8
cmake
cmake
+1
-1
modules/utils
modules/utils
+1
-1
No files found.
.gitlab-ci.yml
View file @
02a418b6
...
...
@@ -14,14 +14,12 @@ build-debug:
script
:
-
mkdir cmake-build-debug
-
cd cmake-build-debug
-
../cmake/cmake-3.16.0-rc3-Linux-x86_64/bin/cmake -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -DCMAKE_INSTALL_PREFIX=$CMAKE_INSTALL_PREFIX ..
-
../cmake/cmake-3.16.0-rc3-Linux-x86_64/bin/cmake -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -DCMAKE_INSTALL_PREFIX=$CMAKE_INSTALL_PREFIX
-DCMAKE_CXX_FLAGS_RELEASE=-O3
..
-
make all
-
make install
-
cd install
-
zip -r debug.zip ./*
artifacts
:
paths
:
-
cmake-build-debug/install
/debug.zip
-
cmake-build-debug/install
build-release
:
stage
:
build
...
...
@@ -34,11 +32,25 @@ build-release:
script
:
-
mkdir cmake-build-release
-
cd cmake-build-release
-
../cmake/cmake-3.16.0-rc3-Linux-x86_64/bin/cmake -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -DCMAKE_INSTALL_PREFIX=$CMAKE_INSTALL_PREFIX
-DCMAKE_CXX_FLAGS_RELEASE=-O3
..
-
../cmake/cmake-3.16.0-rc3-Linux-x86_64/bin/cmake -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE -DCMAKE_INSTALL_PREFIX=$CMAKE_INSTALL_PREFIX ..
-
make all
-
make install
-
cd install
-
zip -r release.zip ./*
artifacts
:
paths
:
-
cmake-build-release/install/release.zip
-
cmake-build-release/install
build-doxygen
:
stage
:
build
tags
:
-
gcc
variables
:
GIT_SUBMODULE_STRATEGY
:
recursive
CMAKE_BUILD_TYPE
:
Release
script
:
-
mkdir cmake-build-release
-
cd cmake-build-release
-
../cmake/cmake-3.16.0-rc3-Linux-x86_64/bin/cmake -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE ..
-
make doxygen
artifacts
:
paths
:
-
cmake-build-release/doxygen
\ No newline at end of file
cmake
@
f1bc0f26
Compare
6bb7c25a
...
f1bc0f26
Subproject commit
6bb7c25a00bee6c1213d34f90961ddf5678b495a
Subproject commit
f1bc0f26c33518139b23881cb12a01b35f874d63
utils
@
4cc65d5b
Compare
64adbaa9
...
4cc65d5b
Subproject commit
64adbaa9183a09dfd859ef93df88b2a4e54abf5
c
Subproject commit
4cc65d5b38a25ff1caf580f3a274eecacf1958c
c
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment