iw4x-client/deps/libtommath/appveyor.yml

31 lines
1.3 KiB
YAML
Raw Normal View History

2024-07-29 00:23:23 -04:00
version: 1.3.0-{build}
2024-03-07 05:13:50 -05:00
branches:
only:
- master
- develop
- /^release/
- /^support/
- /^build-ci/
image:
- Visual Studio 2022
- Visual Studio 2019
- Visual Studio 2017
- Visual Studio 2015
2024-07-29 00:23:23 -04:00
environment:
matrix:
- CFLAGS_VAR: ""
CFLAGS_VAR_DLL: "CFLAGS=\"/Ox /MD /DLTM_TEST_DYNAMIC\""
2024-03-07 05:13:50 -05:00
build_script:
- cmd: >-
if "Visual Studio 2022"=="%APPVEYOR_BUILD_WORKER_IMAGE%" call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
if "Visual Studio 2019"=="%APPVEYOR_BUILD_WORKER_IMAGE%" call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
if "Visual Studio 2017"=="%APPVEYOR_BUILD_WORKER_IMAGE%" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
if "Visual Studio 2015"=="%APPVEYOR_BUILD_WORKER_IMAGE%" call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
if "Visual Studio 2015"=="%APPVEYOR_BUILD_WORKER_IMAGE%" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64
2024-07-29 00:23:23 -04:00
nmake -f makefile.msvc test.exe %CFLAGS_VAR%
2024-03-07 05:13:50 -05:00
nmake -f makefile.msvc clean-obj
2024-07-29 00:23:23 -04:00
nmake -f makefile.msvc test_dll.exe %CFLAGS_VAR_DLL%
2024-03-07 05:13:50 -05:00
test_script:
- cmd: test.exe
- cmd: test_dll.exe