summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2021-10-30 13:12:37 +0300
committerIvan Maidanski <ivmai@mail.ru>2021-11-15 09:44:55 +0300
commit3e5d1b0ee1805a653423811519d265dbec98b7d1 (patch)
tree876c6b61dfc2f003958e4e41560c612e3585ce39
parent559c05607bf2e21db7836fdd502ddd52efbca87e (diff)
downloadlibatomic_ops-3e5d1b0ee1805a653423811519d265dbec98b7d1.tar.gz
AppVeyor CI: Specify VS 2015 image explicitly
(a cherry-pick of commit 2e9d20292 from 'master') Also, rename CPU variable to ARCH. Delete MS_SDK_VER variable.
-rw-r--r--.appveyor.yml19
1 files changed, 10 insertions, 9 deletions
diff --git a/.appveyor.yml b/.appveyor.yml
index 75035cb..3fb7cc8 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -1,23 +1,24 @@
version: 7.6.x-{build}
-clone_depth: 50
+image:
+- Visual Studio 2015
environment:
- MS_SDK_VER: v7.1
+ BLD: debug
matrix:
- - CPU: x86
- BLD: debug
+ - ARCH: x86
CFLAGS_EXTRA: -DAO_ASSUME_VISTA -DAO_USE_PENTIUM4_INSTRS
- - CPU: x86
+ - ARCH: x86
BLD: release
- - CPU: x64
- BLD: debug
+ - ARCH: x64
CFLAGS_EXTRA: -DAO_CMPXCHG16B_AVAILABLE
- - CPU: x64
+ - ARCH: x64
BLD: release
+clone_depth: 50
+
install:
- - cmd: '"C:\Program Files\Microsoft SDKs\Windows\%MS_SDK_VER%\Bin\SetEnv.cmd" /%CPU% /%BLD%'
+- cmd: '"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /%ARCH% /%BLD%'
build_script:
- cmd: cd src && nmake -f Makefile.msft clean all CFLAGS_EXTRA="%CFLAGS_EXTRA%" && cd ..