disable extra platform

This commit is contained in:
Uruk 2024-04-28 16:12:52 +02:00
parent 52205780bc
commit 663f7a7726
1 changed files with 22 additions and 22 deletions

View File

@ -99,17 +99,18 @@ stages:
displayName: 'Install .NET core'
inputs:
version: $(dotnetVersion)
- bash: |
BUNDLEDVERSIONS=${AGENT_TOOLSDIRECTORY}/dotnet/sdk/${DOTNETVERSION}/Microsoft.NETCoreSdk.BundledVersions.props
echo $BUNDLEDVERSIONS
if grep -q freebsd-x64 $BUNDLEDVERSIONS; then
echo "Extra platforms already enabled"
else
echo "Enabling extra platform support"
sed -i.ORI 's/osx-x64/osx-x64;freebsd-x64;linux-x86/' $BUNDLEDVERSIONS
fi
displayName: Enable Extra Platform Support
- bash: ./build.sh --backend --enable-extra-platforms
# - bash: |
# BUNDLEDVERSIONS=${AGENT_TOOLSDIRECTORY}/dotnet/sdk/${DOTNETVERSION}/Microsoft.NETCoreSdk.BundledVersions.props
# echo $BUNDLEDVERSIONS
# if grep -q freebsd-x64 $BUNDLEDVERSIONS; then
# echo "Extra platforms already enabled"
# else
# echo "Enabling extra platform support"
# sed -i.ORI 's/osx-x64/osx-x64;freebsd-x64;linux-x86/' $BUNDLEDVERSIONS
# fi
# displayName: Enable Extra Platform Support
# - bash: ./build.sh --backend --enable-extra-platforms
- bash: ./build.sh --backend
displayName: Build Lidarr Backend
- bash: |
find ${OUTPUTFOLDER} -type f ! -path "*/publish/*" -exec rm -rf {} \;
@ -130,20 +131,20 @@ stages:
artifact: linux-x64-tests
displayName: Publish linux-x64 Test Package
condition: and(succeeded(), eq(variables['osName'], 'Windows'))
- publish: '$(testsFolder)/net8.0/linux-x86/publish'
artifact: linux-x86-tests
displayName: Publish linux-x86 Test Package
condition: and(succeeded(), eq(variables['osName'], 'Windows'))
# - publish: '$(testsFolder)/net8.0/linux-x86/publish'
# artifact: linux-x86-tests
# displayName: Publish linux-x86 Test Package
# condition: and(succeeded(), eq(variables['osName'], 'Windows'))
- publish: '$(testsFolder)/net8.0/linux-musl-x64/publish'
artifact: linux-musl-x64-tests
displayName: Publish linux-musl-x64 Test Package
condition: and(succeeded(), eq(variables['osName'], 'Windows'))
- publish: '$(testsFolder)/net8.0/freebsd-x64/publish'
artifact: freebsd-x64-tests
displayName: Publish freebsd-x64 Test Package
condition: and(succeeded(), eq(variables['osName'], 'Windows'))
- publish: '$(testsFolder)/net8.0/osx-x64/publish'
artifact: osx-x64-tests
# displayName: Publish freebsd-x64 Test Package
# condition: and(succeeded(), eq(variables['osName'], 'Windows'))
# - publish: '$(testsFolder)/net8.0/osx-x64/publish'
# artifact: osx-x64-tests
displayName: Publish osx-x64 Test Package
condition: and(succeeded(), eq(variables['osName'], 'Windows'))
@ -247,7 +248,8 @@ stages:
artifactName: WindowsFrontend
targetPath: _output
displayName: Fetch Frontend
- bash: ./build.sh --packages --enable-extra-platforms
# - bash: ./build.sh --packages --enable-extra-platforms
- bash: ./build.sh --packages
displayName: Create Packages
- bash: |
find . -name "fpcalc" -exec chmod a+x {} \;
@ -802,7 +804,6 @@ stages:
failTaskOnFailedTests: true
displayName: Publish Test Results
- job: Integration_LinuxCore_Postgres15
displayName: Integration Native LinuxCore with Postgres Database
dependsOn: Prepare
@ -1271,4 +1272,3 @@ stages:
DISCORDCHANNELID: $(discordChannelId)
DISCORDWEBHOOKKEY: $(discordWebhookKey)
DISCORDTHREADID: $(discordThreadId)