2020-12-21 04:17:17 +00:00
|
|
|
|
##########################################################################
|
2020-12-21 04:18:07 +00:00
|
|
|
|
# Build KiCad on Windows and save the results
|
2020-12-21 04:17:17 +00:00
|
|
|
|
##########################################################################
|
2021-04-09 14:53:52 +00:00
|
|
|
|
win64_build:
|
2020-12-21 04:17:17 +00:00
|
|
|
|
stage: build
|
2021-04-09 14:53:52 +00:00
|
|
|
|
tags:
|
2020-12-21 04:17:17 +00:00
|
|
|
|
- kicad-windows-1809
|
|
|
|
|
extends: .only_code
|
|
|
|
|
interruptible: false
|
|
|
|
|
image: registry.gitlab.com/kicad/kicad-ci/source_containers/win64:msvc1809
|
2021-01-06 16:22:00 +00:00
|
|
|
|
only:
|
|
|
|
|
- branches@kicad/code/kicad
|
2021-01-09 19:32:07 +00:00
|
|
|
|
- tags@kicad/code/kicad
|
2020-12-21 04:17:17 +00:00
|
|
|
|
script:
|
|
|
|
|
- mkdir -p build/windows -Force
|
|
|
|
|
- cd build/windows
|
|
|
|
|
- cmake `
|
|
|
|
|
-G "Ninja" `
|
2021-03-17 02:22:43 +00:00
|
|
|
|
-DCMAKE_TOOLCHAIN_FILE=C:\build\vcpkg\scripts\buildsystems\vcpkg.cmake `
|
2020-12-21 04:17:17 +00:00
|
|
|
|
-DCMAKE_BUILD_TYPE=Debug `
|
|
|
|
|
-DKICAD_SCRIPTING=OFF `
|
|
|
|
|
-DKICAD_SCRIPTING_MODULES=OFF `
|
|
|
|
|
-DKICAD_SCRIPTING_PYTHON3=OFF `
|
|
|
|
|
-DKICAD_SCRIPTING_WXPYTHON=OFF `
|
|
|
|
|
-DKICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF `
|
|
|
|
|
-DKICAD_SCRIPTING_ACTION_MENU=OFF `
|
|
|
|
|
-DKICAD_USE_OCE=OFF `
|
|
|
|
|
-DKICAD_USE_OCC=ON `
|
|
|
|
|
-DKICAD_SPICE=ON `
|
|
|
|
|
../../
|
|
|
|
|
- cmake --build . 2>&1 | tee compilation_log.txt
|
|
|
|
|
- cd ../../
|
|
|
|
|
artifacts:
|
|
|
|
|
# Only save the artifacts that are needed for running the tests in the next stage
|
|
|
|
|
# and the compilation log. The entire build directory is too large to save as an
|
|
|
|
|
# artifact.
|
|
|
|
|
expire_in: 2 hrs
|
|
|
|
|
when: always
|
|
|
|
|
paths:
|
2020-12-30 02:29:41 +00:00
|
|
|
|
- build/windows/compilation_log.txt
|