Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
batsim
batsim
Commits
78ae151e
Commit
78ae151e
authored
Sep 12, 2017
by
Millian Poquet
Browse files
[ci,env] add clang and nc + rebuild with clang
parent
c06aa02f
Changes
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
78ae151e
...
...
@@ -24,18 +24,18 @@ before_script:
-
mkdir -p ~/.ssh
-
'
[[
-f
/.dockerenv
]]
&&
echo
-e
"Host
*\n\tStrictHostKeyChecking
no\n\n"
>>
~/.ssh/config'
#
build_clang:
#
stage: build
#
script:
#
- export CC=/usr/bin/clang
#
- export CXX=/usr/bin/clang++
#
- mkdir /builds/batsim/batsim/build
#
- cd /builds/batsim/batsim/build
#
- cmake .. -DCMAKE_BUILD_TYPE=Debug -Dtreat_warnings_as_errors=ON
#
- make
#
artifacts:
#
paths:
#
- /builds/batsim/batsim/build
build_clang
:
stage
:
build
script
:
-
export CC=/usr/bin/clang
-
export CXX=/usr/bin/clang++
-
mkdir /builds/batsim/batsim/build
-
cd /builds/batsim/batsim/build
-
cmake .. -DCMAKE_BUILD_TYPE=Debug -Dtreat_warnings_as_errors=ON
-
make
artifacts
:
paths
:
-
/builds/batsim/batsim/build
build_gcc
:
stage
:
build
...
...
@@ -46,9 +46,6 @@ build_gcc:
-
cd /builds/batsim/batsim/build
-
cmake .. -DCMAKE_BUILD_TYPE=Debug -Dtreat_warnings_as_errors=ON
-
make
artifacts
:
paths
:
-
/builds/batsim/batsim/build
build_batsched
:
stage
:
build
...
...
@@ -93,7 +90,7 @@ test_test:
-
cd /builds/batsim/batsim/build
-
ctest --output-on-failure -E 'remote|smpi'
dependencies
:
-
build_
gcc
-
build_
clang
-
build_batsched
deploy_code_doc
:
...
...
environments/batsim_ci.yaml
View file @
78ae151e
...
...
@@ -43,20 +43,13 @@ setup:
-
"
@base"
-
enable_root_ssh_login
#
# Simulator and schedulers install
#
#- configure_apt_repo
-
install_ci_deps
:
-
install_build_tools
:
-
exec_in
:
apt-get update && apt-get -y install cmake gcc clang g++
-
install_ci_tools
:
-
exec_in
:
apt-get update && apt-get -y install netcat
# - install_common_deps:
#
# - install_build_tools:
# - exec_in: |
# apt-get -y install cmake gcc clang g++
# update-alternatives --install /usr/bin/c++ c++ /usr/bin/g++-6 100
#
-
simgrid
-
batsim_dependencies
-
result_analysis
...
...
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