-
Notifications
You must be signed in to change notification settings - Fork 40
/
appveyor.yml
44 lines (35 loc) · 1.13 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
clone_depth: 1
branches:
only:
- main
- develop
version: 3.5.3.{build}
image: Visual Studio 2019
environment:
global:
CYG_ROOT: C:\cygwin64
CYG_MIRROR: http://mirrors.sonic.net
CYG_CACHE: C:\cygwin64\var\cache\setup
CYG_BASH: C:\cygwin64\bin\bash
cache:
- '%CYG_CACHE%'
#
# Install needed build dependencies
#
install:
- '%CYG_ROOT%\setup-x86_64.exe --quiet-mode --no-shortcuts --upgrade-also --packages cmake,git,make,gcc-core,gcc-g++,libboost-devel,libzmq-devel'
- '%CYG_ROOT%\bin\cygcheck -dc'
- cd %APPVEYOR_BUILD_FOLDER%
- git config --global --add safe.directory %APPVEYOR_BUILD_FOLDER%
- git submodule update --init --recursive
before_build:
- mkdir build
- cd build
- git config --global --add safe.directory /cygdrive/c/projects/helics
- '%CYG_BASH% -lc "cd $APPVEYOR_BUILD_FOLDER/build && cmake .. -DCMAKE_BUILD_TYPE=Release -DHELICS_ENABLE_SWIG=OFF -DHELICS_BUILD_TESTS=OFF -DHELICS_DISABLE_ASIO=ON -DHELICS_ENABLE_IPC_CORE=OFF"'
- cd ..
# Build and test, actually.
build_script:
- 'echo Building...'
- '%CYG_BASH% -lc "cd $APPVEYOR_BUILD_FOLDER/build && make -j4 "'
test: off