Skip to content
Snippets Groups Projects
Commit 3be16e9d authored by Martin Beseda's avatar Martin Beseda
Browse files

[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
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
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