Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
lib4neuro
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MolDyn
lib4neuro
Commits
3be16e9d
Commit
3be16e9d
authored
6 years ago
by
Martin Beseda
Browse files
Options
Downloads
Patches
Plain Diff
[FIX] [ENH] Trying to fix and improve CI build stage.
parent
f7223187
No related branches found
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
+27
-18
27 additions, 18 deletions
.gitlab-ci.yml
with
27 additions
and
18 deletions
.gitlab-ci.yml
+
27
−
18
View file @
3be16e9d
stages
:
-
build
# Windows 10 with dependencies
# downloaded (and compiled) locally
win_visual_studio_static_local_deps
:
...
...
@@ -6,17 +9,19 @@ win_visual_studio_static_local_deps:
image
:
windows:latest
stage
:
build
before_script
:
-
call VsDevCmd.bat
-
set DEPENDENCIES_LINK_TYPE=static
-
set clean_after=yes
-
set BUILD_LIB=yes
-
set BUILD_EXAMPLES=yes
-
set BUILD_TESTS=yes
-
call build_scripts\windows\win_VS_build_x64_release.bat
script
:
# - cd ..\..
-
cd build_scripts\windows
# - call win_run_tests.bat
-
cd ..\..
-
call build_scripts\windows\win_VS_build_x64_release.bat
# Latest Ubuntu with dependencies
# in system directories, Boost
...
...
@@ -24,47 +29,51 @@ win_visual_studio_static_local_deps:
ubuntu_boost_system
:
image
:
martinbeseda/lib4neuro-ubuntu-system-deps:latest
stage
:
build
before_script
:
-
export TERM=xterm
-
cd build_scripts/linux
-
export DEPENDENCIES_LINK_TYPE=shared
-
export CLEAN_AFTER=yes
-
./linux_gcc_build_x64_debug_system.sh
-
export BUILD_LIB=yes
-
export BUILD_EXAMPLES=yes
-
export BUILD_TESTS=yes
script
:
-
cd ../..
-
cd build_scripts/linux
# - './linux_run_tests.sh'
-
cd ../..
-
build_scripts/linux/linux_gcc_build_x64_debug_system.sh
# Latest Ubuntu with dependencies
# downloaded (and compiled) locally
ubuntu_boost_local_static_deps
:
image
:
martinbeseda/ubuntu-ci:latest
stage
:
build
before_script
:
-
export TERM=xterm
-
cd build_scripts/linux
-
export DEPENDENCIES_LINK_TYPE=static
-
export CLEAN_AFTER=yes
-
./linux_gcc_build_x64_debug_local.sh
-
export BUILD_LIB=yes
-
export BUILD_EXAMPLES=yes
-
export BUILD_TESTS=yes
script
:
-
cd ../..
-
cd build_scripts/linux
# - './linux_run_tests.sh'
-
cd ../..
-
build_scripts/linux/linux_gcc_build_x64_debug_local.sh
# Latest CentOS with dependencies
# downloaded (and compiled) locally
centos_local_deps
:
image
:
martinbeseda/centos-ci:latest
stage
:
build
before_script
:
-
export TERM=xterm
-
cd build_scripts/linux
-
export DEPENDENCIES_LINK_TYPE=static
-
export CLEAN_AFTER=yes
-
export BUILD_LIB=yes
-
export BUILD_EXAMPLES=yes
-
export BUILD_TESTS=yes
script
:
-
scl enable devtoolset-8 --
.
/linux_gcc_build_x64_debug_local.sh
-
scl enable devtoolset-8 --
build_scripts/linux
/linux_gcc_build_x64_debug_local.sh
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