Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kumir2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
kumir
kumir2
Commits
e6cdb6b0
Commit
e6cdb6b0
authored
Mar 03, 2020
by
Alexander A. Maly
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing yml for new CI configuration.
parent
6b3dfa54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
88 deletions
+16
-88
.gitlab-ci.yml
.gitlab-ci.yml
+16
-88
No files found.
.gitlab-ci.yml
View file @
e6cdb6b0
stages
:
-
configure
-
build
-
dist
-
pack
configure:winxp:
stage
:
configure
tags
:
-
winxp
artifacts
:
name
:
arts-%CI_PIPELINE_ID%-winxp-cfg
expire_in
:
1 hour
when
:
always
paths
:
-
build/
script
:
-
if exist build\ rd /s/q build\
-
md build
-
cd build
-
set PATH=%MINGWDIR%\bin;C:\Program Files\CMake\bin
-
cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DUSE_QT=4 -DQT_QMAKE_EXECUTABLE=%QT4DIR%/bin/qmake.exe -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=%PYTHON_EXECUTABLE% -G "MinGW Makefiles" ..
build:winxp:
stage
:
build
tags
:
-
winxp
dependencies
:
-
configure:winxp
artifacts
:
name
:
arts-%CI_PIPELINE_ID%-winxp-build
expire_in
:
1 hour
...
...
@@ -36,9 +13,12 @@ build:winxp:
paths
:
-
build/
script
:
-
set PATH=%MINGWDIR%\bin;C:\Program Files\CMake\bin
-
if exist build\ rd /s/q build\
-
md build
-
cd build
-
set PATH=%MINGWDIR%\bin;C:\Program Files\CMake\bin
-
echo %date% %time%
-
cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DUSE_QT=4 -DQT_QMAKE_EXECUTABLE=%QT4DIR%/bin/qmake.exe -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=%PYTHON_EXECUTABLE% -G "MinGW Makefiles" ..
-
mingw32-make -j8 -k
-
echo %date% %time%
...
...
@@ -81,35 +61,10 @@ dist:winxp:
-
move kumir2-*-install.exe ..\..\
configure:win32:
stage
:
configure
tags
:
-
windows
artifacts
:
name
:
arts-%CI_PIPELINE_ID%-win32-cfg
expire_in
:
1 hour
when
:
always
paths
:
-
build/
script
:
-
if exist build\ rd /s/q build\
-
md build
-
cd build
-
set QMAKESPEC=win32-msvc2015
-
set INCLUDE=
-
set LIB=
-
set LIBPATH=
-
call vsvars32.bat
-
call vcvars32.bat
-
cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -Wno-dev -DCMAKE_PREFIX_PATH="%QTDIR%\lib\cmake" -DQt5_DIR="%QTDIR%\lib\cmake\Qt5" -DUSE_QT=5 -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=%PYTHON_EXECUTABLE% -G "Ninja" ..
build:win32:
stage
:
build
tags
:
-
windows
dependencies
:
-
configure:win32
-
win32
artifacts
:
name
:
arts-%CI_PIPELINE_ID%-win32-build
expire_in
:
1 hour
...
...
@@ -117,7 +72,10 @@ build:win32:
paths
:
-
build/
script
:
-
if exist build\ rd /s/q build\
-
md build
-
cd build
-
set QMAKESPEC=win32-msvc2015
-
set INCLUDE=
-
set LIB=
-
set LIBPATH=
...
...
@@ -125,6 +83,7 @@ build:win32:
-
call vcvars32.bat
-
set CL=/MP
-
echo %date% %time%
-
cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -Wno-dev -DCMAKE_PREFIX_PATH="%QTDIR%\lib\cmake" -DQt5_DIR="%QTDIR%\lib\cmake\Qt5" -DUSE_QT=5 -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=%PYTHON_EXECUTABLE% -G "Ninja" ..
-
ninja -v -j8
-
echo %date% %time%
...
...
@@ -132,7 +91,7 @@ build:win32:
dist:win32:
stage
:
dist
tags
:
-
win
dows
-
win
32
dependencies
:
-
build:win32
artifacts
:
...
...
@@ -185,29 +144,11 @@ dist:win32:
-
move kumir2-*-install.exe ..\..\
configure:mac:
stage
:
configure
tags
:
-
mac
artifacts
:
name
:
arts-$CI_PIPELINE_ID-mac-cfg
expire_in
:
1 hour
when
:
always
paths
:
-
build/
script
:
-
rm -rf build
-
mkdir build
-
cd build
-
export PATH=$QTDIR_MAC/bin:$PATH
-
cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DUSE_QT=5 -DCMAKE_BUILD_TYPE=Release ..
build:mac:
stage
:
build
tags
:
-
mac
dependencies
:
-
configure:mac
artifacts
:
name
:
arts-$CI_PIPELINE_ID-mac-build
expire_in
:
1 hour
...
...
@@ -215,13 +156,15 @@ build:mac:
paths
:
-
build/
script
:
-
rm -rf build
-
mkdir build
-
cd build
-
export PATH=$QTDIR_MAC/bin:$PATH
-
date
-
cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DUSE_QT=5 -DCMAKE_BUILD_TYPE=Release ..
-
make -k -j8
-
date
dist:mac:
stage
:
dist
tags
:
...
...
@@ -241,28 +184,10 @@ dist:mac:
-
mv Kumir.dmg ../Kumir-$CI_COMMIT_REF_NAME-$CI_PIPELINE_ID.dmg
configure:linux:
stage
:
configure
tags
:
-
linux
artifacts
:
name
:
arts-$CI_PIPELINE_ID-linux-cfg
expire_in
:
1 hour
when
:
always
paths
:
-
build/
script
:
-
rm -rf build
-
mkdir build
-
cd build
-
cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DUSE_QT=4 -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
build:linux:
stage
:
build
tags
:
-
linux
dependencies
:
-
configure:linux
artifacts
:
name
:
arts-$CI_PIPELINE_ID-linux-build
expire_in
:
1 hour
...
...
@@ -270,8 +195,11 @@ build:linux:
paths
:
-
build/
script
:
-
rm -rf build
-
mkdir build
-
cd build
-
date
-
cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DUSE_QT=4 -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
-
make -k -j8
-
date
-
du -k --max=1 . |sort -n
...
...
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