-
Notifications
You must be signed in to change notification settings - Fork 135
/
appveyor.yml
41 lines (35 loc) · 1.12 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
version: 1.0.{build}
build:
verbosity: minimal
environment:
YASM_BINARY: yasm-1.3.0-win64.exe
YASM_DOWNLOAD: http://www.tortall.net/projects/yasm/releases/%YASM_BINARY%
MINGW_PREREQ: zip lzip
matrix:
- COMPILER: MinGW-w64
ABI: 32
LIB: --enable-static --disable-shared
- COMPILER: MinGW-w64
ABI: 32
LIB: --disable-static --enable-shared
- COMPILER: MinGW-w64
ABI: 64
LIB: --enable-static --disable-shared
- COMPILER: MinGW-w64
ABI: 64
LIB: --disable-static --enable-shared
install:
- if [%COMPILER%]==[MinGW-w64] C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S %MINGW_PREREQ%"
- if not exist "%YASM_BINARY%" appveyor DownloadFile "%YASM_DOWNLOAD%"
- if [%COMPILER%]==[MinGW-w64] mkdir bin && copy "%YASM_BINARY%" bin\yasm.exe 1>NUL
build_script:
- if [%COMPILER%]==[MinGW-w64] C:\msys64\usr\bin\sh.exe --login /c/projects/mpir/.appveyor_msys_build.sh
cache:
- '%YASM_BINARY%'
artifacts:
- path: mpir-3.*
name: source tarball
- path: tests/testsuite-all.log
name: testsuite results
on_failure:
- appveyor PushArtifact tests/testsuite-all.log