forked from reedhedges/AriaCoda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (43 loc) · 1.23 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
version: ~> 1.0
language: c++
jobs:
include:
- name: Linux (Ubuntu Bionic)
os: linux
env: TRAVISBUILD=LinuxBionic
dist: bionic
# virt: lxd
- name: Linux (Ubuntu Xenial)
os: linux
dist: xenial
# virt: lxd
env:
- EXTRA_CXXFLAGS="-DARIA_OMIT_DEPRECATED_MATH_FUNCS"
- TRAVISBUILD=LinuxXenial
- name: MacOSX
os: osx
env: TRAVISBUILD=MacOSX
# - name: Linux (Ubuntu Bionic on arm64)
# os: linux
# virt: lxd
# arch: arm64
# dist: bionic
- name: Windows (Windows Server 2019 with Visual C++)
os: windows
env:
- MSBUILD_PATH="C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin"
- TRAVISBUILD=WindowsMSVC
install:
- choco install visualstudio2019buildtools --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64"
script:
# - ver
- echo $0
- echo $PWD
- echo $VisualStudioVersion
- cd visualc
- export PATH=$MSBUILD_PATH:$PATH
- MSBuild.exe AriaCoda.sln -verbosity:detailed -p:Configuration=Debug -p:Platform=x64 -maxCpuCount
git:
depth: 1
script:
- make -s -j4 CXXDEBUGFLAGS= CXXOPTFLAGS=-O0