Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mlz
kww
Commits
48917a2e
Commit
48917a2e
authored
Feb 04, 2021
by
Wuttke, Joachim
Browse files
CI + native Debian
parent
fbdbaaf1
Pipeline
#30539
failed with stage
in 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
48917a2e
stages
:
-
build
native_Debian_clang
:
tags
:
-
Debian
stage
:
build
before_script
:
&debian_clang
-
export CC=clang; export CXX=clang++
-
cmake --version
-
clang --version
script
:
-
mkdir build
-
cd build
-
cmake -DWERROR=ON ..
-
make
-
ctest --output-on-failure
# - cpack .
artifacts
:
paths
:
-
build/*zip
expire_in
:
10 days
mac
:
tags
:
-
MacOS
...
...
@@ -16,6 +37,29 @@ mac:
-
build/*zip
expire_in
:
10 days
windows
:
tags
:
-
Windows
stage
:
build
script
:
-
New-Item -ItemType "directory" -Confirm:$false -Force:$true -Name "build"
-
cd build
# We want to compile with Mingw-w64. Somehow this is accomplished by Ninja.
-
cmake -G "Ninja" -DLIB_MAN=OFF -DCMAKE_INSTALL_PREFIX=C:\opt\x64 -B. ..
-
cmake --build .
# --config Release
-
Get-Location
-
dir
-
ctest --output-on-failure
# -C Release
-
cmake --install .
artifacts
:
paths
:
-
lib/kww.h
-
build/lib/libkww.dll
-
build/demo/runkww.exe
expire_in
:
10 days
## dockerized:
debS_clang
:
tags
:
&unix
-
Linux
...
...
@@ -142,24 +186,3 @@ centos7_gcc:
-
ln -s /usr/bin/cpack3 /usr/bin/cpack
stage
:
build
script
:
*scr
windows
:
tags
:
-
Windows
stage
:
build
script
:
-
New-Item -ItemType "directory" -Confirm:$false -Force:$true -Name "build"
-
cd build
# We want to compile with Mingw-w64. Somehow this is accomplished by Ninja.
-
cmake -G "Ninja" -DLIB_MAN=OFF -DCMAKE_INSTALL_PREFIX=C:\opt\x64 -B. ..
-
cmake --build .
# --config Release
-
Get-Location
-
dir
-
ctest --output-on-failure
# -C Release
-
cmake --install .
artifacts
:
paths
:
-
lib/kww.h
-
build/lib/libkww.dll
-
build/demo/runkww.exe
expire_in
:
10 days
Write
Preview
Supports
Markdown
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