mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-23 08:13:01 +00:00
New: Test more mono versions; do all linux tests in docker
This commit is contained in:
parent
7050a20df5
commit
4461ca3080
1 changed files with 36 additions and 41 deletions
|
@ -232,9 +232,6 @@ stages:
|
||||||
displayName: Unit Native
|
displayName: Unit Native
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
Linux:
|
|
||||||
osName: 'Linux'
|
|
||||||
imageName: 'ubuntu-16.04'
|
|
||||||
Mac:
|
Mac:
|
||||||
osName: 'Mac'
|
osName: 'Mac'
|
||||||
imageName: 'macos-10.13'
|
imageName: 'macos-10.13'
|
||||||
|
@ -253,11 +250,6 @@ stages:
|
||||||
buildType: 'current'
|
buildType: 'current'
|
||||||
artifactName: WindowsTests
|
artifactName: WindowsTests
|
||||||
targetPath: $(testsFolder)
|
targetPath: $(testsFolder)
|
||||||
- bash: |
|
|
||||||
wget https://github.com/acoustid/chromaprint/releases/download/v1.4.3/chromaprint-fpcalc-1.4.3-linux-x86_64.tar.gz
|
|
||||||
sudo tar xf chromaprint-fpcalc-1.4.3-linux-x86_64.tar.gz --strip-components=1 --directory /usr/bin
|
|
||||||
displayName: Install fpcalc
|
|
||||||
condition: and(succeeded(), eq(variables['osName'], 'Linux'))
|
|
||||||
- powershell: Set-Service SCardSvr -StartupType Manual
|
- powershell: Set-Service SCardSvr -StartupType Manual
|
||||||
displayName: Enable Windows Test Service
|
displayName: Enable Windows Test Service
|
||||||
condition: and(succeeded(), eq(variables['osName'], 'Windows'))
|
condition: and(succeeded(), eq(variables['osName'], 'Windows'))
|
||||||
|
@ -291,32 +283,37 @@ stages:
|
||||||
displayName: Unit Docker
|
displayName: Unit Docker
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
mono500:
|
|
||||||
testName: 'Mono 5.0'
|
|
||||||
containerImage: mono:5.0
|
|
||||||
mono504:
|
|
||||||
testName: 'Mono 5.4'
|
|
||||||
containerImage: mono:5.4
|
|
||||||
mono508:
|
mono508:
|
||||||
testName: 'Mono 5.8'
|
testName: 'Mono 5.8'
|
||||||
containerImage: mono:5.8
|
containerImage: lidarr/testimages:mono-5.8
|
||||||
mono510:
|
mono510:
|
||||||
testName: 'Mono 5.10'
|
testName: 'Mono 5.10'
|
||||||
containerImage: mono:5.10
|
containerImage: lidarr/testimages:mono-5.10
|
||||||
|
mono512:
|
||||||
|
testName: 'Mono 5.12'
|
||||||
|
containerImage: lidarr/testimages:mono-5.12
|
||||||
|
mono514:
|
||||||
|
testName: 'Mono 5.14'
|
||||||
|
containerImage: lidarr/testimages:mono-5.14
|
||||||
mono516:
|
mono516:
|
||||||
testName: 'Mono 5.16'
|
testName: 'Mono 5.16'
|
||||||
containerImage: mono:5.16
|
containerImage: lidarr/testimages:mono-5.16
|
||||||
mono518:
|
mono518:
|
||||||
testName: 'Mono 5.18'
|
testName: 'Mono 5.18'
|
||||||
containerImage: mono:5.18
|
containerImage: lidarr/testimages:mono-5.18
|
||||||
mono520:
|
mono520:
|
||||||
testName: 'Mono 5.20'
|
testName: 'Mono 5.20'
|
||||||
containerImage: mono:5.20
|
containerImage: lidarr/testimages:mono-5.20
|
||||||
|
mono600:
|
||||||
|
testName: 'Mono 6.0'
|
||||||
|
containerImage: lidarr/testimages:mono-6.0
|
||||||
|
mono604:
|
||||||
|
testName: 'Mono 6.4'
|
||||||
|
containerImage: lidarr/testimages:mono-6.4
|
||||||
|
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'ubuntu-16.04'
|
vmImage: 'ubuntu-16.04'
|
||||||
|
|
||||||
# May need to setup own containers to include fpcalc and sqlite for all versions
|
|
||||||
container: $[ variables['containerImage'] ]
|
container: $[ variables['containerImage'] ]
|
||||||
|
|
||||||
timeoutInMinutes: 5
|
timeoutInMinutes: 5
|
||||||
|
@ -345,6 +342,7 @@ stages:
|
||||||
testResultsFormat: 'NUnit'
|
testResultsFormat: 'NUnit'
|
||||||
testResultsFiles: '**/TestResult.xml'
|
testResultsFiles: '**/TestResult.xml'
|
||||||
testRunTitle: '$(testName) Unit Tests'
|
testRunTitle: '$(testName) Unit Tests'
|
||||||
|
failTaskOnFailedTests: true
|
||||||
|
|
||||||
- stage: Integration
|
- stage: Integration
|
||||||
displayName: Integration
|
displayName: Integration
|
||||||
|
@ -355,10 +353,6 @@ stages:
|
||||||
displayName: Integration Native
|
displayName: Integration Native
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
Linux:
|
|
||||||
osName: 'Linux'
|
|
||||||
imageName: 'ubuntu-16.04'
|
|
||||||
pattern: 'Lidarr.**.linux.tar.gz'
|
|
||||||
Mac:
|
Mac:
|
||||||
osName: 'Mac'
|
osName: 'Mac'
|
||||||
imageName: 'macos-10.13'
|
imageName: 'macos-10.13'
|
||||||
|
@ -372,11 +366,6 @@ stages:
|
||||||
vmImage: $(imageName)
|
vmImage: $(imageName)
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- script: |
|
|
||||||
wget https://github.com/acoustid/chromaprint/releases/download/v1.4.3/chromaprint-fpcalc-1.4.3-linux-x86_64.tar.gz
|
|
||||||
sudo tar xf chromaprint-fpcalc-1.4.3-linux-x86_64.tar.gz --strip-components=1 --directory /usr/bin
|
|
||||||
displayName: Install fpcalc
|
|
||||||
condition: and(succeeded(), eq(variables['osName'], 'Linux'))
|
|
||||||
- bash: |
|
- bash: |
|
||||||
SYMLINK=5_18_1
|
SYMLINK=5_18_1
|
||||||
MONOPREFIX=/Library/Frameworks/Mono.framework/Versions/$SYMLINK
|
MONOPREFIX=/Library/Frameworks/Mono.framework/Versions/$SYMLINK
|
||||||
|
@ -426,28 +415,34 @@ stages:
|
||||||
displayName: Integration Docker
|
displayName: Integration Docker
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
mono500:
|
|
||||||
testName: 'Mono 5.0'
|
|
||||||
containerImage: mono:5.0
|
|
||||||
mono504:
|
|
||||||
testName: 'Mono 5.4'
|
|
||||||
containerImage: mono:5.4
|
|
||||||
mono508:
|
mono508:
|
||||||
testName: 'Mono 5.8'
|
testName: 'Mono 5.8'
|
||||||
containerImage: mono:5.8
|
containerImage: lidarr/testimages:mono-5.8
|
||||||
mono510:
|
mono510:
|
||||||
testName: 'Mono 5.10'
|
testName: 'Mono 5.10'
|
||||||
containerImage: mono:5.10
|
containerImage: lidarr/testimages:mono-5.10
|
||||||
|
mono512:
|
||||||
|
testName: 'Mono 5.12'
|
||||||
|
containerImage: lidarr/testimages:mono-5.12
|
||||||
|
mono514:
|
||||||
|
testName: 'Mono 5.14'
|
||||||
|
containerImage: lidarr/testimages:mono-5.14
|
||||||
mono516:
|
mono516:
|
||||||
testName: 'Mono 5.16'
|
testName: 'Mono 5.16'
|
||||||
containerImage: mono:5.16
|
containerImage: lidarr/testimages:mono-5.16
|
||||||
mono518:
|
mono518:
|
||||||
testName: 'Mono 5.18'
|
testName: 'Mono 5.18'
|
||||||
containerImage: mono:5.18
|
containerImage: lidarr/testimages:mono-5.18
|
||||||
mono520:
|
mono520:
|
||||||
testName: 'Mono 5.20'
|
testName: 'Mono 5.20'
|
||||||
containerImage: mono:5.20
|
containerImage: lidarr/testimages:mono-5.20
|
||||||
|
mono600:
|
||||||
|
testName: 'Mono 6.0'
|
||||||
|
containerImage: lidarr/testimages:mono-6.0
|
||||||
|
mono604:
|
||||||
|
testName: 'Mono 6.4'
|
||||||
|
containerImage: lidarr/testimages:mono-6.4
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
pattern: 'Lidarr.**.linux.tar.gz'
|
pattern: 'Lidarr.**.linux.tar.gz'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue