forked from quodlibet/quodlibet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-pipelines.yml
43 lines (43 loc) · 1.44 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
jobs:
- job: MAIN
timeoutInMinutes: 60
pool:
vmImage: vs2017-win2016
strategy:
matrix:
i686:
MSYSTEM: MINGW32
MSYS2_ARCH: i686
x86_64:
MSYSTEM: MINGW64
MSYS2_ARCH: x86_64
steps:
- script: |
choco install msys2 --params="/InstallDir:%CD:~0,2%\msys64 /NoUpdate /NoPath"
displayName: Install MSYS2
- script: |
set PATH=%CD:~0,2%\msys64\usr\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
%CD:~0,2%\msys64\usr\bin\pacman --noconfirm -Syyuu
%CD:~0,2%\msys64\usr\bin\pacman --noconfirm -Syuu
displayName: Update MSYS2
- script: |
set PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
%CD:~0,2%\msys64\usr\bin\bash -lc ".azure/msys2-install.sh"
displayName: Install Depdendencies
env:
MSYS2_ARCH: $(MSYS2_ARCH)
MSYSTEM: $(MSYSTEM)
CHERE_INVOKING: yes
- script: |
set PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
%CD:~0,2%\msys64\usr\bin\bash -lc ".azure/msys2-test.sh"
displayName: Run Tests
env:
MSYS2_ARCH: $(MSYS2_ARCH)
MSYSTEM: $(MSYSTEM)
CHERE_INVOKING: yes
- task: PublishTestResults@2
condition: not(canceled())
inputs:
testResultsFiles: '**/test-*.xml'
testRunTitle: 'Publish test results'