aboutsummaryrefslogtreecommitdiff
path: root/.appveyor.yml
diff options
context:
space:
mode:
Diffstat (limited to '.appveyor.yml')
-rw-r--r--.appveyor.yml22
1 files changed, 16 insertions, 6 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index 13991ada..764d56d6 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -3,12 +3,22 @@ image: Visual Studio 2017
environment:
CMAKE_ARGS: '-G "NMake Makefiles JOM" -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo'
matrix:
- - QTDIR: C:\Qt\5.13\msvc2017_64
- VCVARS: "vcvars64.bat"
- PLATFORM:
- - QTDIR: C:\Qt\5.13\msvc2017
+ - QTDIR: C:\Qt\5.13\msvc2017 # Fresh Qt, 32-bit
VCVARS: "vcvars32.bat"
PLATFORM: x86
+ - QTDIR: C:\Qt\5.13\msvc2017_64 # Fresh Qt, 64-bit
+ VCVARS: "vcvars64.bat"
+ PLATFORM:
+ - QTDIR: C:\Qt\5.9\msvc2017_64 # Oldest supported Qt, 64-bit, E2EE
+ VCVARS: "vcvars64.bat"
+ QMAKE_E2EE_ARGS: '"DEFINES += Quotient_E2EE_ENABLED USE_INTREE_LIBQOLM" "INCLUDEPATH += olm/include" "LIBS += -Lbuild/olm"'
+ CMAKE_E2EE_ARGS: '-DQuotient_ENABLE_E2EE=ON -DOlm_DIR=build/olm'
+ PLATFORM:
+ - QTDIR: C:\Qt\5.13\msvc2017_64 # Fresh Qt, 64-bit, E2EE
+ VCVARS: "vcvars64.bat"
+ QMAKE_E2EE_ARGS: '"DEFINES += Quotient_E2EE_ENABLED USE_INTREE_LIBQOLM" "INCLUDEPATH += olm/include" "LIBS += -Lbuild/olm"'
+ CMAKE_E2EE_ARGS: '-DQuotient_ENABLE_E2EE=ON -DOlm_DIR=build/olm'
+ PLATFORM:
init:
- call "%QTDIR%\bin\qtenv2.bat"
@@ -23,10 +33,10 @@ before_build:
- cmake --build build/olm
build_script:
-- cmake %CMAKE_ARGS% -H. -Bbuild "-DOlm_DIR=build/olm"
+- cmake %CMAKE_ARGS% %CMAKE_E2EE_ARGS% -H. -Bbuild
- cmake --build build
# qmake uses olm just built by CMake - it can't build olm on its own.
-- qmake "INCLUDEPATH += olm/include" "LIBS += -Lbuild" "LIBS += -Lbuild/olm" && jom
+- qmake -Wall quotest.pro -- %QMAKE_E2EE_ARGS% && jom
#after_build:
#- cmake --build build --target install