-
Notifications
You must be signed in to change notification settings - Fork 32
/
.travis.yml
74 lines (63 loc) · 3.06 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
language: d
dist: bionic
arch:
- amd64
- arm64
os:
- osx
- linux
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -y ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_CPU_ARCH" == "amd64" ]]; then sudo apt-get install -y gcc-multilib ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" && "$TRAVIS_CPU_ARCH" == "amd64" ]]; then sudo apt-get install -y libc6-dev ; fi
# Note: LDC 1.27 requires GLIBC_2.27 and going with "dist: bionic" is not enough apprently
d:
- ldc-1.26.0
- ldc-1.24.0
- dmd-2.097.0
- dmd-2.094.2
matrix:
allow_failures:
- d: dmd-2.097.0
- d: dmd-2.094.2
# uncompress encrypted VST SDK
before_install:
- if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then openssl aes-256-cbc -K $encrypted_00660bf0ef48_key -iv $encrypted_00660bf0ef48_iv -in secrets-for-ci.tar.enc -out secrets-for-ci.tar -d ; fi
- if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then tar xvf secrets-for-ci.tar ; fi
env:
- VST2_SDK=$TRAVIS_BUILD_DIR/VST2_SDK
# Note: can't build dplug:vst2 in a pull request
script:
- cd examples/distort; dub --compiler=${DC} -c LV2; cd ../..
- if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then cd examples/clipit; dub --compiler=${DC} -c VST2; cd ../.. ; fi
- cd examples/ms-encode; dub --compiler=${DC} -c VST3; cd ../..
- cd examples/arpejoe; dub --compiler=${DC} -c AU; cd ../..
- cd examples/simple-mono-synth; dub --compiler=${DC} -c VST3; cd ../..
- if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then cd examples/poly-alias-synth; dub --compiler=${DC} -c VST2; cd ../.. ; fi
- cd tools/dplug-build; dub --compiler=${DC}; cd ../..
- if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then cd tools/stress-plugin; dub --compiler=${DC}; cd ../.. ; fi
- if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then cd tools/process; dub --compiler=${DC}; cd ../.. ; fi
- if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then cd tools/latency-check; dub --compiler=${DC}; cd ../.. ; fi
- cd tools/wav-compare; dub --compiler=${DC}; cd ../..
- cd tools/wav-info; dub --compiler=${DC}; cd ../..
- dub test --compiler=${DC} dplug:core
- dub test --compiler=${DC} dplug:audio
- dub test --compiler=${DC} dplug:math
- dub test --compiler=${DC} dplug:dsp
- dub test --compiler=${DC} dplug:fft
- dub test --compiler=${DC} dplug:client
- if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then dub test --compiler=${DC} dplug:host ; fi
- if [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then dub test --compiler=${DC} dplug:vst2 ; fi
- dub test --compiler=${DC} dplug:window
- dub test --compiler=${DC} dplug:macos
- dub test --compiler=${DC} dplug:au
- dub test --compiler=${DC} dplug:pbr-widgets
- dub test --compiler=${DC} dplug:flat-widgets
- dub test --compiler=${DC} dplug:wren-support
- dub test --compiler=${DC} dplug:lv2
- dub test --compiler=${DC} dplug:vst3
- dub test --compiler=${DC} dplug:graphics
- dub test --compiler=${DC} dplug:canvas
- dub test --compiler=${DC} -b unittest-release dplug:core
- dub test --compiler=${DC} -b unittest-release dplug:dsp
- dub test --compiler=${DC} -b unittest-release dplug:fft