-
Notifications
You must be signed in to change notification settings - Fork 18
/
appveyor.yml
49 lines (47 loc) · 1.11 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
version: 2.0.{build}
image:
- Visual Studio 2019
- Ubuntu
- macos
for:
-
matrix:
only:
- image: Ubuntu
install:
- sudo apt-get update -qq
- sudo apt-get install -y libcapstone-dev
build_script:
./build.sh
test_script:
(cd build; sudo ctest -V)
-
matrix:
only:
- image: macos
install:
- brew install capstone
build_script:
./build.sh
test_script:
(cd build; sudo ctest -V)
-
matrix:
only:
- image: Visual Studio 2019
environment:
MSYS: winsymlinks:nativestrict
MSYSTEM: MINGW64
MSYS2_PACKAGES: "
mingw-w64-x86_64-capstone
"
CHERE_INVOKING: 1
install:
- C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S --needed %MSYS2_PACKAGES%"
build_script:
- C:\msys64\usr\bin\bash -lc "mkdir build"
- C:\msys64\usr\bin\bash -lc "cd build && cmake .. -G 'MSYS Makefiles'"
- C:\msys64\usr\bin\bash -lc "cd build && cmake --build . -j $(nproc)"
- exit $LastExitCode
test_script:
- C:\msys64\usr\bin\bash -lc "cd build && ctest -V"