mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 14:55:20 -07:00
Try to fix tests
This commit is contained in:
parent
27111023aa
commit
bc02f4ef92
2 changed files with 14 additions and 12 deletions
|
@ -58,6 +58,16 @@ stages:
|
||||||
displayName: Build Lidarr Backend
|
displayName: Build Lidarr Backend
|
||||||
- publish: $(outputFolder)
|
- publish: $(outputFolder)
|
||||||
artifact: '$(osName)Backend'
|
artifact: '$(osName)Backend'
|
||||||
|
condition: and(succeeded(), eq(variables['osName'], 'Windows'))
|
||||||
|
- publish: $(testsFolder)
|
||||||
|
artifact: 'Tests'
|
||||||
|
condition: and(succeeded(), eq(variables['osName'], 'Windows'))
|
||||||
|
# - task: PublishPipelineArtifact@0
|
||||||
|
# displayName: Publish Tests Artifact
|
||||||
|
# inputs:
|
||||||
|
# artifactName: 'Tests'
|
||||||
|
# targetPath: '$(testsFolder)'
|
||||||
|
|
||||||
|
|
||||||
- job: Frontend
|
- job: Frontend
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -84,6 +94,7 @@ stages:
|
||||||
displayName: Build Lidarr Frontend
|
displayName: Build Lidarr Frontend
|
||||||
- publish: $(outputFolder)
|
- publish: $(outputFolder)
|
||||||
artifact: '$(osName)Frontend'
|
artifact: '$(osName)Frontend'
|
||||||
|
condition: and(succeeded(), eq(variables['osName'], 'Windows'))
|
||||||
|
|
||||||
# - job: macOS
|
# - job: macOS
|
||||||
# displayName: macOS
|
# displayName: macOS
|
||||||
|
@ -135,17 +146,8 @@ stages:
|
||||||
buildType: 'current'
|
buildType: 'current'
|
||||||
artifactName: WindowsFrontend
|
artifactName: WindowsFrontend
|
||||||
targetPath: _output
|
targetPath: _output
|
||||||
# - download: current
|
|
||||||
# artifact: 'WindowsBackend'
|
|
||||||
# - download: current
|
|
||||||
# artifact: 'WindowsFrontend'
|
|
||||||
- bash: ./build.sh --only-packages
|
- bash: ./build.sh --only-packages
|
||||||
displayName: Create Lidarr Packages
|
displayName: Create Lidarr Packages
|
||||||
- task: PublishPipelineArtifact@0
|
|
||||||
displayName: Publish Tests Artifact
|
|
||||||
inputs:
|
|
||||||
artifactName: 'Tests'
|
|
||||||
targetPath: '$(testsFolder)'
|
|
||||||
- task: ArchiveFiles@2
|
- task: ArchiveFiles@2
|
||||||
displayName: Create Windows zip
|
displayName: Create Windows zip
|
||||||
inputs:
|
inputs:
|
||||||
|
|
4
build.sh
4
build.sh
|
@ -367,7 +367,8 @@ set -- "${POSITIONAL[@]}" # restore positional parameters
|
||||||
# Only build backend if we haven't set only-frontend or only-packages
|
# Only build backend if we haven't set only-frontend or only-packages
|
||||||
if [ -z "$ONLY_FRONTEND" ] && [ -z "$ONLY_PACKAGES" ];
|
if [ -z "$ONLY_FRONTEND" ] && [ -z "$ONLY_PACKAGES" ];
|
||||||
then
|
then
|
||||||
Build
|
Build
|
||||||
|
PackageTests
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Only build frontend if we haven't set only-backend or only-packages
|
# Only build frontend if we haven't set only-backend or only-packages
|
||||||
|
@ -382,7 +383,6 @@ then
|
||||||
PackageMono
|
PackageMono
|
||||||
PackageMacOS
|
PackageMacOS
|
||||||
PackageMacOSApp
|
PackageMacOSApp
|
||||||
PackageTests
|
|
||||||
CleanupWindowsPackage
|
CleanupWindowsPackage
|
||||||
PackageArtifacts
|
PackageArtifacts
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue