chore: cmake ci build test

This commit is contained in:
Gary Wang 2019-11-24 22:08:04 +08:00
parent b5dc020795
commit 6074a00b33

View File

@ -15,11 +15,12 @@ install:
build_script: build_script:
- mkdir build - mkdir build
- cd build - cd build
- qmake ..\PineapplePictures.pro - cmake -G "Unix Makefiles" -DCMAKE_MAKE_PROGRAM=mingw32-make ..\
- mingw32-make - mingw32-make
- cd release - mkdir cmake_release_folder
- del /a /f /q "*.o" "*.cpp" "*.h" - cd cmake_release_folder
- windeployqt --no-quick-import --no-translations --no-opengl-sw --no-angle --no-system-d3d-compiler --release .\PineapplePictures.exe - copy ..\ppic.exe .\
- windeployqt --no-quick-import --no-translations --no-opengl-sw --no-angle --no-system-d3d-compiler --release .\ppic.exe
artifacts: artifacts:
- path: build\release - path: build\cmake_release_folder