-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
azure-pipelines.yml
76 lines (74 loc) · 2.37 KB
/
azure-pipelines.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
75
76
variables:
LD_LIBRARY_PATH: /usr/local/lib
HOMEBREW_CURL_RETRIES: 5
CI: true
trigger: ['master']
jobs:
- job: windows_64
timeoutInMinutes: 120
cancelTimeoutInMinutes: 30
pool:
vmImage: vs2017-win2016
variables:
compiler: msvc_msys2
ARCH: x64
MSYS2_ARCH: x86_64
MSYS2_DIR: msys64
MSYSTEM: MINGW64
strategy:
matrix:
fgsl_gui_noupdater:
UPDATER: false
RNG: fgsl
PLOT: gtkmm-plplot
fgsl_gui_withupdater:
UPDATER: true
RNG: fgsl
PLOT: gtkmm-plplot
fgsl_nogui:
RNG: fgsl
easyrng_gui_noupdater:
UPDATER: false
RNG: easyRNG
PLOT: gtkmm-plplot
easyrng_gui_withupdater:
UPDATER: true
RNG: easyRNG
PLOT: gtkmm-plplot
easyrng_nogui:
RNG: easyRNG
steps:
- script: |
choco uninstall openssl.light
displayName: Uninstall openssl.light
- script: |
choco install msys2 --params="/InstallDir:C:\msys64 /NoUpdate /NoPath"
displayName: Install MSYS2
- script: |
set PATH=C:\msys64\usr\bin;%PATH%
pacman --noconfirm -Syyuu
pacman --noconfirm -Syu
displayName: Update MSYS2
- script: |
set PATH=C:\msys64\usr\bin;%PATH%
pacman --noconfirm --ask 20 -Su mingw-w64-%MSYS2_ARCH%-{gcc,libtool,curl,gcc-fortran,libxslt,glib2,libsoup,python3-gobject,pygobject-devel,gobject-introspection,python3-numpy,python3-certifi,swig,python3-scipy,cython} automake autoconf make wget tar git patch
displayName: Install MSYS2 packages
- script: |
set PATH=C:\msys64\%MSYSTEM%\bin;C:\msys64\usr\bin;%PATH%
bash -lc "cd $SOURCE_HOME && unset BOOST_ROOT && exec ./appveyor-before-build.sh"
displayName: Build dependencies
env:
SOURCE_HOME: $(Build.SourcesDirectory)
- script: |
set PATH=C:\msys64\%MSYSTEM%\bin;C:\msys64\usr\bin;%PATH%
bash -lc "cd $SOURCE_HOME && exec ./appveyor-build-script.sh"
displayName: Build XMI-MSIM
env:
SOURCE_HOME: $(Build.SourcesDirectory)
- script: |
set PATH=C:\msys64\%MSYSTEM%\bin;C:\msys64\usr\bin;%PATH%
bash -lc "cd $SOURCE_HOME/tests && cat test-*.log"
displayName: Print test results
env:
SOURCE_HOME: $(Build.SourcesDirectory)
condition: failed()