forked from fancycode/MemoryModule
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (37 loc) · 1.1 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
sudo: false
env:
- PLATFORM=x86_64 UNICODE= CMAKE=
- PLATFORM=i686 UNICODE= CMAKE=
- PLATFORM=x86_64 UNICODE=1 CMAKE=
- PLATFORM=i686 UNICODE=1 CMAKE=
- PLATFORM=x86_64 UNICODE= CMAKE=1
- PLATFORM=i686 UNICODE= CMAKE=1
- PLATFORM=x86_64 UNICODE=1 CMAKE=1
- PLATFORM=i686 UNICODE=1 CMAKE=1
language: cpp
cache:
- apt
- ccache
addons:
apt:
packages:
- binutils-mingw-w64-i686
- binutils-mingw-w64-x86-64
- cmake
- mingw-w64-dev
- g++-mingw-w64-i686
- g++-mingw-w64-x86-64
- gcc-mingw-w64-i686
- gcc-mingw-w64-x86-64
- wine
before_script:
- if [ ! -z "$CMAKE" ]; then cmake -DPLATFORM=$PLATFORM -DUNICODE=$UNICODE -DTESTSUITE=ON -H. -B.; fi
script:
- if [ -z "$CMAKE" ]; then make PLATFORM=$PLATFORM UNICODE=$UNICODE; fi
- if [ -z "$CMAKE" ]; then make test PLATFORM=$PLATFORM UNICODE=$UNICODE; fi
- if [ ! -z "$CMAKE" ]; then cmake --build .; fi
- cd example/DllLoader
- ../../tests/runwine.sh $PLATFORM ./DllLoader.exe
- ../../tests/runwine.sh $PLATFORM ./DllLoaderLoader.exe
- cd ../../tests
- ./runwine.sh $PLATFORM ./TestSuite.exe