forked from kubo/funchook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
56 lines (56 loc) · 1.9 KB
/
.travis.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
50
51
52
53
54
55
56
language: c
matrix:
include:
- name: linux x86_64 and i686 / mingw x64 and x32 on Wine
os: linux
sudo: required
dist: bionic
addons:
apt:
packages:
- gcc-multilib
- mingw-w64
- wine64
- wine32
- wine-binfmt
before_script:
- sudo update-binfmts --import wine
script:
- ./.travis/run-cmake-test.sh x86_64-linux
- ./.travis/run-cmake-test.sh i686-linux -DCMAKE_C_FLAGS=-m32 -DCMAKE_ASM_FLAGS=-m32
- ./.travis/run-cmake-test.sh x86_64-mingw32 -DCMAKE_TOOLCHAIN_FILE=../cmake/x86_64-w64-mingw32.cmake
- ./.travis/run-cmake-test.sh i686-mingw32 -DCMAKE_TOOLCHAIN_FILE=../cmake/i686-w64-mingw32.cmake
- name: linux arm64
os: linux
dist: bionic
arch: arm64
script:
- ./.travis/run-cmake-test.sh aarch64-linux
- name: alpine linux on docker
os: linux
dist: bionic
before_script:
- docker build -f .travis/Dockerfile-alpine-test -t funchook-test .
script:
- docker run --rm funchook-test
- name: Xcode 11.3 (the latest version)
os: osx
osx_image: xcode11.3
script:
- ./.travis/run-cmake-test.sh x86_64-darwin
- name: Xcode 10.3 (the latest version which can change memory regions in exe)
os: osx
osx_image: xcode10.3
script:
- ./.travis/run-cmake-test.sh x86_64-darwin
- name: Xcode 10.1 (the latest version supporting 32-bit)
os: osx
osx_image: xcode10.1
script:
- ./.travis/run-cmake-test.sh x86_64-darwin
- ./.travis/run-cmake-test.sh i686-darwin -DCMAKE_C_FLAGS=-m32 -DCMAKE_ASM_FLAGS=-m32
- name: Windows
os: windows
script:
- ./.travis/run-cmake-test.sh x86_64-windows -G "Visual Studio 15 2017 Win64"
- ./.travis/run-cmake-test.sh x86-windows -G "Visual Studio 15 2017"