-
Notifications
You must be signed in to change notification settings - Fork 45
/
.travis.yml
50 lines (45 loc) · 1.2 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
---
language: cpp
matrix:
include:
- os: Linux
dist: focal
arch: arm64
env:
- OCPN_TARGET=flatpak-arm64
- CMAKE_BUILD_PARALLEL_LEVEL=2
script:
- >
sed -i '/branch:/s/:.*/: travis/'
flatpak/org.opencpn.OpenCPN.Plugin.shipdriver.yaml
- ci/circleci-build-flatpak.sh
- sh -c "cd build-flatpak; /bin/bash < upload.sh"
- python3 ci/git-push
- os: osx
osx_mage: xcode13.1
env:
- OCPN_TARGET=macos
- CMAKE_BUILD_PARALLEL_LEVEL=2
script:
- ci/circleci-build-macos.sh
- sh -c "otool -L build/app/*/OpenCPN.app/Contents/PlugIns/*.dylib"
- sh -c "cd build; /bin/bash < upload.sh"
- python3 ci/git-push
- os: Linux
dist: focal
arch: arm64
env:
- OCPN_TARGET=debian-11-arm64
- CMAKE_BUILD_PARALLEL_LEVEL=2
script:
- ci/generic-build-raspbian-armhf.sh
- sh -c "cd build-raspbian; /bin/bash < upload.sh"
- python3 ci/git-push
- os: windows
script:
- ci/travis-build-win32.sh
- sh -c "cd build-windows; bash upload.sh"
- bash ci/git-push.sh
branches:
only:
- travis