-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
52 changed files
with
3,915 additions
and
2,538 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.pro.user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
stages: | ||
- build | ||
- bundle | ||
|
||
.win_build_template: &win_build_definition | ||
stage: build | ||
script: | ||
- if not exist "build" mkdir build | ||
- if not exist "ide" mkdir ide | ||
- cd build | ||
- echo set -x; export PATH=`cygpath -u %QTDIR%/bin`:$PATH; qmake "CONFIG+=bundled" "DEFINES+=MINIZINC_IDE_BUILD=\\\\\\\"\"${CI_PIPELINE_ID}\\\\\\\"\"" ../MiniZincIDE/MiniZincIDE.pro; nmake; cp release/MiniZincIDE.exe ../ide; cd ../ide; windeployqt --no-translations --no-compiler-runtime --no-system-d3d-compiler MiniZincIDE.exe > build.sh | ||
- d2u build.sh | ||
- bash build.sh | ||
artifacts: | ||
paths: | ||
- ide/ | ||
|
||
|
||
build:linux: | ||
stage: build | ||
image: dekker1/qt:latest | ||
script: | ||
- mkdir -p build; cd build | ||
- qmake -makefile "CONFIG+=bundled" "DEFINES+=MINIZINC_IDE_BUILD=\\\\\\\"\"${CI_PIPELINE_ID}\\\\\\\"\"" PREFIX=/usr ../MiniZincIDE/MiniZincIDE.pro | ||
- make -j4 | ||
- make -j4 INSTALL_ROOT=../ide install; find ../ide/ | ||
- cd .. | ||
- linuxdeployqt ide/usr/bin/MiniZincIDE -bundle-non-qt-libs -no-translations -no-copy-copyright-files | ||
tags: | ||
- linux | ||
- docker | ||
artifacts: | ||
paths: | ||
- ide/ | ||
cache: | ||
key: "linux_$CI_COMMIT_REF_SLUG" | ||
paths: | ||
- build/ | ||
|
||
build:osx: | ||
stage: build | ||
variables: | ||
QTDIR: "$OSXQTDIR" | ||
script: | ||
- export PATH="$QTDIR/bin:$PATH" | ||
- mkdir -p build; cd build | ||
- qmake -makefile "CONFIG+=bundled" "DEFINES+=MINIZINC_IDE_BUILD=\\\\\\\"\"${CI_PIPELINE_ID}\\\\\\\"\"" ../MiniZincIDE/MiniZincIDE.pro | ||
- make -j4 | ||
- cp -r MiniZincIDE.app .. | ||
tags: | ||
- osx | ||
- cpp | ||
- qt | ||
artifacts: | ||
paths: | ||
- MiniZincIDE.app | ||
cache: | ||
key: "osx_$CI_COMMIT_REF_SLUG" | ||
paths: | ||
- build/ | ||
|
||
.build:win32: #DISABLED | ||
<<: *win_build_definition | ||
variables: | ||
QTDIR: "$WINQTDIR" | ||
before_script: | ||
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0/VC/vcvarsall.bat" | ||
tags: | ||
- win32 | ||
- cpp | ||
- qt | ||
cache: | ||
key: "win32_$CI_COMMIT_REF_SLUG" | ||
paths: | ||
- build/ | ||
|
||
build:win64: | ||
<<: *win_build_definition | ||
variables: | ||
QTDIR: "$WINQTDIR" | ||
before_script: | ||
- call "C:\Program Files (x86)\Microsoft Visual Studio 14.0/VC/vcvarsall.bat" amd64 | ||
tags: | ||
- win64 | ||
- cpp | ||
- qt | ||
cache: | ||
key: "win64_$CI_COMMIT_REF_SLUG" | ||
paths: | ||
- build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.