mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-23 06:45:19 -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
|
||||
- publish: $(outputFolder)
|
||||
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
|
||||
strategy:
|
||||
|
@ -84,7 +94,8 @@ stages:
|
|||
displayName: Build Lidarr Frontend
|
||||
- publish: $(outputFolder)
|
||||
artifact: '$(osName)Frontend'
|
||||
|
||||
condition: and(succeeded(), eq(variables['osName'], 'Windows'))
|
||||
|
||||
# - job: macOS
|
||||
# displayName: macOS
|
||||
# pool:
|
||||
|
@ -135,17 +146,8 @@ stages:
|
|||
buildType: 'current'
|
||||
artifactName: WindowsFrontend
|
||||
targetPath: _output
|
||||
# - download: current
|
||||
# artifact: 'WindowsBackend'
|
||||
# - download: current
|
||||
# artifact: 'WindowsFrontend'
|
||||
- bash: ./build.sh --only-packages
|
||||
displayName: Create Lidarr Packages
|
||||
- task: PublishPipelineArtifact@0
|
||||
displayName: Publish Tests Artifact
|
||||
inputs:
|
||||
artifactName: 'Tests'
|
||||
targetPath: '$(testsFolder)'
|
||||
- task: ArchiveFiles@2
|
||||
displayName: Create Windows zip
|
||||
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
|
||||
if [ -z "$ONLY_FRONTEND" ] && [ -z "$ONLY_PACKAGES" ];
|
||||
then
|
||||
Build
|
||||
Build
|
||||
PackageTests
|
||||
fi
|
||||
|
||||
# Only build frontend if we haven't set only-backend or only-packages
|
||||
|
@ -382,7 +383,6 @@ then
|
|||
PackageMono
|
||||
PackageMacOS
|
||||
PackageMacOSApp
|
||||
PackageTests
|
||||
CleanupWindowsPackage
|
||||
PackageArtifacts
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue