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
d2e200d1
Commit
d2e200d1
authored
6 years ago
by
Martin Beseda
Browse files
Options
Downloads
Patches
Plain Diff
Testing Code Quality measurement
parent
984c82ff
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+88
-71
88 additions, 71 deletions
.gitlab-ci.yml
with
88 additions
and
71 deletions
.gitlab-ci.yml
+
88
−
71
View file @
d2e200d1
# Windows 10 with Boost and Exprtk
# Windows 10 with Boost and Exprtk
# downloaded and compiled locally as
# downloaded and compiled locally as
# submodules and linked statically
# submodules and linked statically
win_visual_studio_static_deps
:
#
win_visual_studio_static_deps:
tags
:
#
tags:
-
Win
#
- Win
#
before_script
:
#
before_script:
-
call VsDevCmd.bat
#
- call VsDevCmd.bat
-
cd build_scripts\windows
#
- cd build_scripts\windows
-
call win_download_dependencies.bat
#
- call win_download_dependencies.bat
-
cd ..\..
#
- cd ..\..
-
cd build_scripts\windows
#
- cd build_scripts\windows
-
set DEPENDENCIES_LINK_TYPE=static
#
- set DEPENDENCIES_LINK_TYPE=static
-
call win_VS_build_x64_debug.bat
#
- call win_VS_build_x64_debug.bat
#
script
:
#
script:
-
call win_run_tests.bat
#
- call win_run_tests.bat
# Windows 10 with Boost and Exprtk
# Windows 10 with Boost and Exprtk
# downloaded and compiled locally as
# downloaded and compiled locally as
...
@@ -43,61 +43,78 @@ win_visual_studio_static_deps:
...
@@ -43,61 +43,78 @@ win_visual_studio_static_deps:
# in system directories, Boost
# in system directories, Boost
# installed from the official repository
# installed from the official repository
# => only dynamical linking possible
# => only dynamical linking possible
ubuntu_boost_system
:
#ubuntu_boost_system:
tags
:
# tags:
-
centos7
# - centos7
#
image
:
martinbeseda/dockertest:latest
# image: martinbeseda/dockertest:latest
#
before_script
:
# before_script:
-
rm -rf external_dependencies
# - rm -rf external_dependencies
-
git clone https://github.com/ArashPartow/exprtk.git
# - git clone https://github.com/ArashPartow/exprtk.git
-
cp exprtk/exprtk.hpp /usr/include
# - cp exprtk/exprtk.hpp /usr/include
-
export TERM=xterm
# - export TERM=xterm
-
cd build_scripts/linux
# - cd build_scripts/linux
-
export DEPENDENCIES_LINK_TYPE=shared
# - export DEPENDENCIES_LINK_TYPE=shared
-
./linux_gcc_build_x64_debug_system.sh
# - ./linux_gcc_build_x64_debug_system.sh
#
script
:
# script:
-
'
./linux_run_tests.sh'
# - './linux_run_tests.sh'
#
# Latest Ubuntu with Boost and Exprtk
## Latest Ubuntu with Boost and Exprtk
# compiled locally as submodules and
## compiled locally as submodules and
# linked statically
## linked statically
ubuntu_boost_local_static_deps
:
#ubuntu_boost_local_static_deps:
tags
:
# tags:
-
centos7
# - centos7
#
image
:
martinbeseda/ubuntu-ci:latest
# image: martinbeseda/ubuntu-ci:latest
#
before_script
:
# before_script:
-
cd build_scripts/linux
# - cd build_scripts/linux
-
./download_dependencies.sh
# - ./download_dependencies.sh
-
cd ../..
# - cd ../..
-
cd build_scripts/linux
# - cd build_scripts/linux
-
export DEPENDENCIES_LINK_TYPE=static
# - export DEPENDENCIES_LINK_TYPE=static
-
./linux_gcc_build_x64_debug_local.sh
# - ./linux_gcc_build_x64_debug_local.sh
#
script
:
# script:
-
'
./linux_run_tests.sh'
# - './linux_run_tests.sh'
#
# Latest Ubuntu with Boost and Exprtk
## Latest Ubuntu with Boost and Exprtk
# compiled locally as submodules and
## compiled locally as submodules and
# linked dynamically
## linked dynamically
ubuntu_boost_local_dynamic_deps
:
#ubuntu_boost_local_dynamic_deps:
tags
:
# tags:
-
centos7
# - centos7
#
image
:
martinbeseda/ubuntu-ci:latest
# image: martinbeseda/ubuntu-ci:latest
#
before_script
:
# before_script:
-
cd build_scripts/linux
# - cd build_scripts/linux
-
./download_dependencies.sh
# - ./download_dependencies.sh
-
cd ../..
# - cd ../..
-
cd build_scripts/linux
# - cd build_scripts/linux
-
export DEPENDENCIES_LINK_TYPE=shared
# - export DEPENDENCIES_LINK_TYPE=shared
-
./linux_gcc_build_x64_debug_local.sh
# - ./linux_gcc_build_x64_debug_local.sh
#
# script:
# - './linux_run_tests.sh'
script
:
-
'
./linux_run_tests.sh'
code_quality
:
image
:
docker:stable
variables
:
DOCKER_DRIVER
:
overlay2
allow_failure
:
true
services
:
-
docker:stable-dind
script
:
-
export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
-
docker run
--env SOURCE_CODE="$PWD"
--volume "$PWD":/code
--volume /var/run/docker.sock:/var/run/docker.sock
"registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code
artifacts
:
paths
:
[
gl-code-quality-report.json
]
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