-
Notifications
You must be signed in to change notification settings - Fork 1
/
.appveyor.yml
45 lines (37 loc) · 1.29 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
version: "{branch}-ci-{build}"
image: Visual Studio 2017
environment:
matrix:
- build: g++
platform: x64
MINGW_ROOT: C:\msys64\mingw64
BOOST_ROOT: C:\msys64\mingw64\include\boost
LIBELF_INCLUDE: C:\msys64\mingw64\include\libelf
MINGW_ARCH: x86_64
MSYSTEM: MINGW64
install:
- set PATH=%MINGW_ROOT%;%MINGW_ROOT%\bin;C:\msys64\usr\bin\;"C:\Program Files\LLVM\bin";%PATH%
- bash -lc "pacman --needed --noconfirm -S mingw-w64-%MINGW_ARCH%-libelf"
- bash -lc "pacman --needed --noconfirm -S mingw-w64-%MINGW_ARCH%-boost"
- set CPATH=%LIBELF_INCLUDE%;%CPATH%
- set CPLUS_INCLUDE_PATH=%LIBELF_INCLUDE%;%BOOST_ROOT%;%CPLUS_INCLUDE_PATH%
- set BINARY_NAME=dinamo-windows-%platform%.exe
build_script:
- bash -lc "exec 0</dev/null && cd $APPVEYOR_BUILD_FOLDER && make "
# - bash -lc "cd $APPVEYOR_BUILD_FOLDER && scripts/run_tests.sh" ## RUN TESTS ON LINUX ONLY (WITH TRAVIS)
- bash -lc true
artifacts:
- path: bin\%BINARY_NAME%
name: Releases
deploy:
#release: DiNAMO-v$(APPVEYOR_REPO_TAG)
description: 'Mac OSX, Linux and Windows 64 binaries'
provider: GitHub
auth_token:
secure: 4pbkaIiW4tf9KoszzJw02C1c5Levwbj1F2jmZIARZlmwdI67OSEiJFaQJ1EMHTdQ
artifact: /dinamo/
draft: false
prerelease: false
on:
appveyor_repo_tag: true
platform: x64