This repository has been archived by the owner on Dec 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
appveyor.yml
59 lines (50 loc) · 1.6 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
version: 1.0.{build}
matrix:
fast_finish: true
environment:
matrix:
- TOOLSET: "mingw32"
C_COMPILER: "gcc"
TARGET: "gmake"
PREMAKE_OPTIONS: "--arch=x32"
MAKE: "mingw32-make.exe"
MAKE_OPTIONS: "CC=%C_COMPILER%"
- TOOLSET: "mingw64"
C_COMPILER: "gcc"
TARGET: "gmake"
MAKE: "mingw32-make.exe"
MAKE_OPTIONS: "CC=%C_COMPILER%"
- TOOLSET: "MSC(32bit)"
TARGET: "vs2015"
PREMAKE_OPTIONS: "--arch=x32"
MAKE: "msbuild"
MAKE_OPTIONS: "SpookyHash.sln"
- TOOLSET: "MSC(64bit)"
TARGET: "vs2015"
MAKE: "msbuild"
MAKE_OPTIONS: "SpookyHash.sln"
- TOOLSET: "MSC/LLVM(32bit)"
TARGET: "vs2015"
PREMAKE_OPTIONS: "--arch=x32 --toolset=msc-llvm-vs2014"
MAKE: "msbuild"
MAKE_OPTIONS: "SpookyHash.sln"
- TOOLSET: "MSC/LLVM(64bit)"
TARGET: "vs2015"
PREMAKE_OPTIONS: "--toolset=msc-llvm-vs2014"
MAKE: "msbuild"
MAKE_OPTIONS: "SpookyHash.sln"
install:
- cmd: set "MINGW32_PATH=c:\MinGW\bin;c:\MinGW\usr\bin"
- cmd: set "MINGW64_PATH=c:\msys64\mingw64\bin;c:\msys64\usr\bin"
- cmd: if [%TOOLSET%]==[mingw32] SET PATH=%MINGW32_PATH%;%PATH%
- cmd: if [%TOOLSET%]==[mingw64] SET PATH=%MINGW64_PATH%;%PATH%
- cmd: cd build
- ps: wget https://github.com/premake/premake-core/releases/download/v5.0.0-alpha12/premake-5.0.0-alpha12-windows.zip -OutFile premake5.zip
- cmd: 7z x premake5.zip
- cmd: del premake5.zip
build_script:
- cmd: echo Building with %TOOLSET% %C_COMPILER%
- cmd: premake5 %TARGET% %PREMAKE_OPTIONS% && %MAKE% %MAKE_OPTIONS%
- cmd: dir bin\Release\
- cmd: file bin/Release/*
- cmd: bin\Release\spookyhash-test