-
Notifications
You must be signed in to change notification settings - Fork 5
/
appveyor.yml
33 lines (23 loc) · 1.08 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
build:
verbosity: minimal
clone_depth: 30
build_script :
- C:\MinGW\bin\mingw-get install libgmpxx
- '%BASH_PATH% -lc "cd $APPVEYOR_BUILD_FOLDER; wget --progress=dot:mega https://ci.appveyor.com/api/projects/yanntm/libDDD/artifacts/windows.zip"'
- '%BASH_PATH% -lc "cd $APPVEYOR_BUILD_FOLDER; 7z x windows.zip"'
- DIR
- '%BASH_PATH% -lc "cd $APPVEYOR_BUILD_FOLDER; ./antlr.sh"'
- DIR
- '%BASH_PATH% -lc "cd $APPVEYOR_BUILD_FOLDER; autoreconf -vfi && ./configure --prefix=$(pwd)/usr/local/ CPPFLAGS=-I$(pwd)/usr/local/include LDFLAGS=-L$(pwd)/usr/local/lib --with-antlrc=$(pwd)/usr/local/ --with-antlrjar=$(pwd)/usr/local/lib/antlr-3.4-complete.jar --enable-nolto --enable-mingw-native && make && make install"'
- '%BASH_PATH% -lc "cd $APPVEYOR_BUILD_FOLDER; strip -s bin/its-reach.exe"'
- '%BASH_PATH% -lc "cd $APPVEYOR_BUILD_FOLDER; 7z a -tzip windows.zip usr/ "'
# SHELL=%BASH_PATH%
environment :
MSYSTEM: MINGW64
BASH_PATH: C:\msys64\usr\bin\bash
artifacts:
- path: bin/its-reach.exe
name: its-reach.exe
type: zip
- path: windows.zip
name: windows.zip