forked from HarryR/ethsnarks
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathappveyor.yml
More file actions
22 lines (17 loc) · 724 Bytes
/
appveyor.yml
File metadata and controls
22 lines (17 loc) · 724 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
os: Visual Studio 2015
environment:
matrix:
- COMPILER: msys64
install:
# Use cygwin to checkout source code, due to characters in sub-repo that mingw git can't handle
- set OLD_PATH=%PATH%
- set PATH=%PATH%;C:\cygwin\bin
- C:\cygwin\bin\git submodule update --init --recursive
- set PATH=C:\msys64\usr\bin\;%OLD_PATH%
- bash -lc "pacman --noconfirm -S make gmp gmp-devel gcc git cmake"
before_build:
- bash -lc "cd $APPVEYOR_BUILD_FOLDER && cmake -E make_directory build && cmake -E chdir build cmake -DCMAKE_BUILD_TYPE=Debug .."
build_script:
- bash -lc "cd $APPVEYOR_BUILD_FOLDER && cmake --build build"
test_script:
- bash -lc "cd $APPVEYOR_BUILD_FOLDER && cmake --build build --target test"