forked from thestk/rtmidi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
66 lines (62 loc) · 2.21 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
environment:
matrix:
###
- TOOLCHAIN: "default"
CONFIG: Release
_CC: MINGW
- TOOLCHAIN: "default"
CONFIG: Debug
_CC: MINGW
# example see: https://github.com/wang-bin/avbuild/blob/master/appveyor.yml
init:
- echo NUMBER_OF_PROCESSORS=%NUMBER_OF_PROCESSORS%
- echo PROCESSOR_IDENTIFIER=%PROCESSOR_IDENTIFIER%
- set MSYS2_PATH_TYPE=inherit
- set MSYS2_DIR=C:\msys64
install:
# can not starts with %
# - git submodule update --init
- if /i %_CC%==MinGW (
C:\msys64\usr\bin\pacman -Rc --noconfirm mingw-w64-i686-gcc-ada mingw-w64-i686-gcc-objc mingw-w64-x86_64-gcc-ada mingw-w64-x86_64-gcc-objc &&
C:\msys64\usr\bin\pacman -Syyuu --noconfirm &&
C:\msys64\usr\bin\pacman -Suu --noconfirm &&
C:\msys64\usr\bin\pacman -S --noconfirm --needed mingw-w64-i686-gcc mingw-w64-x86_64-gcc &&
C:\msys64\usr\bin\pacman -Sc --noconfirm
)
- C:\msys64\usr\bin\pacman -Ss --noconfirm boost
- C:\msys64\usr\bin\pacman -Ss --noconfirm autoconf
- C:\msys64\usr\bin\pacman -Ss --noconfirm automake
- C:\msys64\usr\bin\pacman -Ss --noconfirm libtool
- C:\msys64\usr\bin\pacman -Ss --noconfirm gettext
- C:\msys64\usr\bin\pacman -S --noconfirm --needed
mingw-w64-x86_64-boost autoconf mingw-w64-x86_64-libtool automake1.15 mingw-w64-x86_64-gettext
build_script:
- dir C:\
- dir C:\msys64
- dir C:\msys64\usr\bin
- dir C:\msys64\opt
- dir C:\msys64\mingw64
- dir c:\msys64\mingw64\bin
- dir C:\msys64\mingw64\x86_64-w64-mingw32
- dir C:\msys64\mingw64\x86_64-w64-mingw32\bin
- dir C:\mingw-w64
- dir C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin
- dir C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\opt\bin
- SET PATH=C:\mingw-w64\bin;C:\msys64\mingw64\bin;C:\msys64\usr\bin;%PATH%
- echo "%PATH%"
- path
- bash -c "env"
- bash -c pwd
- bash -c ls
- bash -c "#aclocal -I m4 --install"
- bash -c "#automake --add-missing -f"
- bash -c "#autopoint -f"
- bash -c "#libtoolize -i -f"
- bash -c "#autoconf --add-missing"
- bash -c "mkdir -p config"
- bash -c "touch config/config.rpath"
- bash -c "autoreconf -i -f"
- bash -c "./configure"
- bash -c make
- bash -c "make check"
- bash -c "make distcheck"