forked from umake/make
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
103 lines (92 loc) · 2.94 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
environment:
matrix:
- APPVEYOR_BUILD_SYS: Cygwin
WIN_SHELL: C:\cygwin\bin\bash
WIN_MAKE: C:\cygwin\bin\make
WIN_SETUP: C:\cygwin\setup-x86.exe
SHELL: /cygdrive/c/cygwin/bin/bash
MAKE: /cygdrive/c/cygwin/bin/make
SETUP: /cygdrive/c/cygwin/bin/setup-x86.exe
CC: /cygdrive/c/cygwin/bin/gcc
CXX: /cygdrive/c/cygwin/bin/g++
FC: /cygdrive/c/cygwin/bin/gfortran
LANGUAGE: C
- APPVEYOR_BUILD_SYS: Cygwin
WIN_SHELL: C:\cygwin\bin\bash
WIN_MAKE: C:\cygwin\bin\make
WIN_SETUP: C:\cygwin\setup-x86.exe
SHELL: /cygdrive/c/cygwin/bin/bash
MAKE: /cygdrive/c/cygwin/bin/make
SETUP: /cygdrive/c/cygwin/bin/setup-x86.exe
CC: /cygdrive/c/cygwin/bin/gcc
CXX: /cygdrive/c/cygwin/bin/g++
FC: /cygdrive/c/cygwin/bin/gfortran
LANGUAGE: C++
- APPVEYOR_BUILD_SYS: Cygwin
WIN_SHELL: C:\cygwin\bin\bash
WIN_MAKE: C:\cygwin\bin\make
WIN_SETUP: C:\cygwin\setup-x86.exe
SHELL: /cygdrive/c/cygwin/bin/bash
MAKE: /cygdrive/c/cygwin/bin/make
SETUP: /cygdrive/c/cygwin/bin/setup-x86.exe
CC: /cygdrive/c/cygwin/bin/gcc
CXX: /cygdrive/c/cygwin/bin/g++
FC: /cygdrive/c/cygwin/bin/gfortran
LANGUAGE: Fortran
- APPVEYOR_BUILD_SYS: Msys2
WIN_SHELL: C:\msys64\usr\bin\bash
WIN_MAKE: C:\msys64\usr\bin\make
WIN_SETUP: C:\msys64\usr\bin\bash
SHELL: /usr/bin/bash
MAKE: /usr/bin/make
SETUP: /usr/bin/bash
CC: /c/msys64/mingw64/bin/gcc
CXX: /c/msys64/mingw64/bin/g++
FC: /c/msys64/mingw64/bin/gfortran
LANGUAGE: C
- APPVEYOR_BUILD_SYS: Msys2
WIN_SHELL: C:\msys64\usr\bin\bash
WIN_MAKE: C:\msys64\usr\bin\make
WIN_SETUP: C:\msys64\usr\bin\bash
SHELL: /usr/bin/bash
MAKE: /usr/bin/make
SETUP: /usr/bin/bash
CC: /c/msys64/mingw64/bin/gcc
CXX: /c/msys64/mingw64/bin/g++
FC: /c/msys64/mingw64/bin/gfortran
LANGUAGE: C++
- APPVEYOR_BUILD_SYS: Msys2
WIN_SHELL: C:\msys64\usr\bin\bash
WIN_MAKE: C:\msys64\usr\bin\make
WIN_SETUP: C:\msys64\usr\bin\bash
SHELL: /usr/bin/bash
MAKE: /usr/bin/make
SETUP: /usr/bin/bash
CC: /c/msys64/mingw64/bin/gcc
CXX: /c/msys64/mingw64/bin/g++
FC: /c/msys64/mingw64/bin/gfortran
LANGUAGE: Fortran
init:
# Carriage returns are bad
- cmd:
'git config --global core.autocrlf input'
build: off
install:
# coreutils (uname), findutils (find), util-linux (getopt)
# bc (calculator), gcc-fortran (gforgran)
- cmd:
'if "%APPVEYOR_BUILD_SYS%" == "Msys2"
%WIN_SETUP% -lc "pacman --noconfirm -S bc"'
- cmd:
'if "%APPVEYOR_BUILD_SYS%" == "Cygwin"
%WIN_SETUP% -q -P coreutils,findutils,util-linux,bc,gcc-core,gcc-g++,gcc-fortran'
before_test:
- cmd:
'if "%APPVEYOR_BUILD_SYS%" == "Msys2"
set PATH=C:\msys64\usr\bin;C:\msys64\mingw64\bin;%PATH%'
- cmd:
'if "%APPVEYOR_BUILD_SYS%" == "Cygwin"
set PATH=C:\cygwin\bin;%PATH%'
test_script:
- cmd:
'%WIN_SHELL% test/tests.sh'