--- init: # AppVeyor default is python2, but we want python 3 - set PATH=C:\Python36;C:\Python36\Scripts;%PATH% - set PATH=C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH% # Python doesn't seem to be able to import files from the current script's # directory on Windows. - set PYTHONPATH=%APPVEYOR_BUILD_FOLDER%\test - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) install: - git submodule update --init environment: JOBS: 3 matrix: - GENERATOR: MSYS Makefiles CONFIG: Release JOBS_FLAG: -j EXE_DIR: . DEPLOY: false - GENERATOR: Visual Studio 14 2015 CONFIG: Release JOBS_FLAG: "/m:" EXE_DIR: '%CONFIG%' DEPLOY: true DEPLOY_NAME: wabt-%APPVEYOR_REPO_TAG_NAME%-win32.zip - GENERATOR: Visual Studio 14 2015 Win64 CONFIG: Debug JOBS_FLAG: "/m:" EXE_DIR: '%CONFIG%' DEPLOY: false - GENERATOR: Visual Studio 14 2015 Win64 CONFIG: Release JOBS_FLAG: "/m:" EXE_DIR: '%CONFIG%' DEPLOY: true DEPLOY_NAME: wabt-%APPVEYOR_REPO_TAG_NAME%-win64.zip build_script: - cmake . -DCMAKE_BUILD_TYPE=%CONFIG% -DCMAKE_INSTALL_PREFIX=%APPVEYOR_BUILD_FOLDER% -G "%GENERATOR%" - cmake --build . --config %CONFIG% --target install -- %JOBS_FLAG%%JOBS% test_script: - python test\run-tests.py -v --bindir %APPVEYOR_BUILD_FOLDER%\bin # Must happen before artifacts step. after_test: - call scripts\appveyor-after-test.bat artifacts: - path: "%DEPLOY_NAME%" name: wabt - path: "%DEPLOY_NAME%.sha256" name: sha256 deploy: description: 'wabt release' provider: GitHub auth_token: secure: lHQSdycL1FHsFKZZ0RSnYSUtRitYaLb4uxDjCSOpYHnk4gIO/0/DLu4aoU2VvD7Y artifact: wabt,sha256 on: appveyor_repo_tag: true deploy: true