From 6074a00b33cc77787fa6fd133d5f9da3a686d08a Mon Sep 17 00:00:00 2001 From: Gary Wang Date: Sun, 24 Nov 2019 22:08:04 +0800 Subject: [PATCH] chore: cmake ci build test --- appveyor.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 74f2351..a4321f3 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -15,11 +15,12 @@ install: build_script: - mkdir build - cd build - - qmake ..\PineapplePictures.pro + - cmake -G "Unix Makefiles" -DCMAKE_MAKE_PROGRAM=mingw32-make ..\ - mingw32-make - - cd release - - del /a /f /q "*.o" "*.cpp" "*.h" - - windeployqt --no-quick-import --no-translations --no-opengl-sw --no-angle --no-system-d3d-compiler --release .\PineapplePictures.exe + - mkdir cmake_release_folder + - cd cmake_release_folder + - copy ..\ppic.exe .\ + - windeployqt --no-quick-import --no-translations --no-opengl-sw --no-angle --no-system-d3d-compiler --release .\ppic.exe artifacts: - - path: build\release + - path: build\cmake_release_folder