2019-09-30 23:08:12 +08:00
|
|
|
environment:
|
|
|
|
matrix:
|
2020-01-30 11:35:15 +08:00
|
|
|
- build_name: mingw73_32_qt5_12_6
|
|
|
|
QTPATH: C:\Qt\5.12.6\mingw73_32
|
2019-10-05 14:58:09 +08:00
|
|
|
MINGW32: C:\Qt\Tools\mingw730_32
|
2019-09-30 23:08:12 +08:00
|
|
|
|
|
|
|
install:
|
|
|
|
- cd %APPVEYOR_BUILD_FOLDER%
|
|
|
|
- git submodule update --init --recursive
|
|
|
|
- set PATH=%PATH%;%QTPATH%\bin;%MINGW32%\bin
|
|
|
|
|
|
|
|
build_script:
|
|
|
|
- mkdir build
|
|
|
|
- cd build
|
2020-01-03 23:01:12 +08:00
|
|
|
- cmake -G "Unix Makefiles" -DCMAKE_MAKE_PROGRAM=mingw32-make -DCMAKE_INSTALL_PREFIX='%cd%' ..\
|
2019-09-30 23:08:12 +08:00
|
|
|
- mingw32-make
|
2020-01-03 23:01:12 +08:00
|
|
|
- mingw32-make install
|
|
|
|
# fixme: I don't know how to NOT make the binary installed to the ./bin/ folder...
|
|
|
|
- cd bin
|
2019-11-24 22:08:04 +08:00
|
|
|
- windeployqt --no-quick-import --no-translations --no-opengl-sw --no-angle --no-system-d3d-compiler --release .\ppic.exe
|
2020-01-03 23:01:12 +08:00
|
|
|
- tree
|
2019-09-30 23:08:12 +08:00
|
|
|
|
|
|
|
artifacts:
|
2020-01-03 23:01:12 +08:00
|
|
|
- path: build\bin
|