-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.travis.yml
More file actions
121 lines (118 loc) · 5.53 KB
/
.travis.yml
File metadata and controls
121 lines (118 loc) · 5.53 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
branches:
only:
- master
- work
- wp
- travis
language: cpp
matrix:
include:
# bionic
- os: linux
dist: bionic
sudo: false
compiler: gcc
- os: linux
dist: bionic
sudo: false
compiler: clang
- os: linux
arch: arm64
dist: bionic
sudo: false
compiler: gcc
- os: linux
arch: arm64
dist: bionic
sudo: false
compiler: clang
- os: linux
arch: arm64-graviton2
dist: bionic
sudo: false
compiler: gcc
virt: lxd
group: edge
- os: linux
arch: arm64-graviton2
dist: bionic
sudo: false
compiler: clang
virt: lxd
group: edge
# focal
- os: linux
dist: focal
sudo: false
compiler: gcc
- os: linux
dist: focal
sudo: false
compiler: clang
- os: linux
arch: arm64
dist: focal
sudo: false
compiler: gcc
- os: linux
arch: arm64
dist: focal
sudo: false
compiler: clang
- os: linux
arch: arm64-graviton2
dist: focal
sudo: false
compiler: gcc
virt: lxd
group: edge
- os: linux
arch: arm64-graviton2
dist: focal
sudo: false
compiler: clang
virt: lxd
group: edge
- os: osx
compiler: clang
- os: osx
osx_image: xcode11
compiler: clang
- os: windows
install:
- if [ "$TRAVIS_OS_NAME" == "windows" ]; then choco install strawberryperl; fi
- if [ "$TRAVIS_OS_NAME" == "windows" ]; then choco install nasm; fi
- if [[ "${TRAVIS_CPU_ARCH}" == "arm64" ]]; then
sudo apt-get remove cmake;
sudo snap install cmake --classic;
cmake --version;
fi
script:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then alias nproc="sysctl -n hw.logicalcpu"; fi
- echo "nproc = " $(nproc)
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then ./configure -b maintain && cd build/maintain && make -j$(nproc) && make Experimental; fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then ./configure -b maintain && cd build/maintain && make -j$(nproc) && make Experimental; fi
- if [ "$TRAVIS_OS_NAME" == "windows" ]; then export PATH=$PATH:"c:\Program Files\NASM"; fi
- if [ "$TRAVIS_OS_NAME" == "windows" ]; then unset CC && unset CXX; fi
- if [ "$TRAVIS_OS_NAME" == "windows" ]; then prerequisites/run_in_visual_studio_2017_environment.sh amd64 "bash ./configure -b maintain -f mnt -g "Visual Studio 15 2017 Win64""; fi
- if [ "$TRAVIS_OS_NAME" == "windows" ]; then cd build/mnt; fi
- if [ "$TRAVIS_OS_NAME" == "windows" ]; then travis_wait 20 ../../prerequisites/run_in_visual_studio_2017_environment.sh amd64 "bash -c "cmake --build . --config RelWithDebInfo --target build-openssl""; fi
- if [ "$TRAVIS_OS_NAME" == "windows" ]; then cmake --build . --config RelWithDebInfo --target Experimental; fi
# - if [ "$TRAVIS_OS_NAME" == "windows" ]; then travis_wait 30 ../../prerequisites/run_in_visual_studio_2017_environment.sh amd64 bash -c "cmake --build . --config release --target build-boost && exit"; fi
# - if [ "$TRAVIS_OS_NAME" == "windows" ]; then cat external/openssl/src/build-openssl-stamp/build-openssl-configure-err.log; fi
# - if [ "$TRAVIS_OS_NAME" == "windows" ]; then cat external/openssl/src/build-openssl-stamp/build-openssl-configure-out.log; fi
# - if [ "$TRAVIS_OS_NAME" == "windows" ]; then cat external/openssl/src/build-openssl-stamp/build-openssl-build-err.log; fi
# - if [ "$TRAVIS_OS_NAME" == "windows" ]; then cat external/openssl/src/build-openssl-stamp/build-openssl-build-out.log; fi
# - if [ "$TRAVIS_OS_NAME" == "windows" ]; then travis_wait 40 prerequisites/run_in_visual_studio_2017_environment.sh amd64 bash ./configure -b maintain -f mnt -g "Visual Studio 15 2017 Win64" && cd build/mnt && cmake --build . --config release --target Experimental; fi
# - if [ "$TRAVIS_OS_NAME" == "windows" ]; then "`find c\:/Program\ Files\ \(x86\)/ -name vcvarsall.bat 2>/dev/null | grep -v -F "Permission" | grep -F "2017"`" amd64; fi
# - if [ "$TRAVIS_OS_NAME" == "windows" ]; then prerequisites/run_in_visual_studio_2017_environment.sh amd64 bash; fi
# - if [ "$TRAVIS_OS_NAME" == "windows" ]; then ./configure -b maintain -f maintain -g "Visual Studio 15 2017 Win64" && cd build/maintain; fi
# - if [ "$TRAVIS_OS_NAME" == "windows" ]; then export PATH=$PATH:"c:\Program Files\NASM"; fi
# - if [ "$TRAVIS_OS_NAME" == "windows" ]; then travis_wait 20 cmake --build . --config release --target build-openssl; fi
# - if [ "$TRAVIS_OS_NAME" == "windows" ]; then echo $PATH; fi
# - if [ "$TRAVIS_OS_NAME" == "windows" ]; then cat /c/Users/travis/build/vipalade/solidframe/build/maintain/external/openssl/src/build-openssl-stamp/build-openssl-configure-err.log; fi
# - if [ "$TRAVIS_OS_NAME" == "windows" ]; then cat /c/Users/travis/build/vipalade/solidframe/build/maintain/external/openssl/src/build-openssl-stamp/build-openssl-configure-out.log; fi
# - if [ "$TRAVIS_OS_NAME" == "windows" ]; then cat /c/Users/travis/build/vipalade/solidframe/build/maintain/external/openssl/src/build-openssl-stamp/build-openssl-build-err.log; fi
# - if [ "$TRAVIS_OS_NAME" == "windows" ]; then cat /c/Users/travis/build/vipalade/solidframe/build/maintain/external/openssl/src/build-openssl-stamp/build-openssl-build-out.log; fi
# - if [ "$TRAVIS_OS_NAME" == "windows" ]; then travis_wait 30 cmake --build . --config release --target build-boost; fi
# - if [ "$TRAVIS_OS_NAME" == "windows" ]; then cmake --build . --config release --target Experimental; fi