mirror of
https://github.com/lidarr/Lidarr
synced 2025-02-23 14:30:49 +00:00
Build Cleanup
This commit is contained in:
parent
281190822f
commit
c3c8cb4660
3 changed files with 14 additions and 135 deletions
|
@ -288,7 +288,7 @@ stages:
|
||||||
includeRootFolder: false
|
includeRootFolder: false
|
||||||
rootFolderOrFile: $(artifactsFolder)/linux-arm/netcoreapp3.1
|
rootFolderOrFile: $(artifactsFolder)/linux-arm/netcoreapp3.1
|
||||||
- task: ArchiveFiles@2
|
- task: ArchiveFiles@2
|
||||||
displayName: Create Linux Core tar
|
displayName: Create ARM64 Linux Core tar
|
||||||
inputs:
|
inputs:
|
||||||
archiveFile: '$(Build.ArtifactStagingDirectory)/Lidarr.$(buildName).linux-core-arm64.tar.gz'
|
archiveFile: '$(Build.ArtifactStagingDirectory)/Lidarr.$(buildName).linux-core-arm64.tar.gz'
|
||||||
archiveType: 'tar'
|
archiveType: 'tar'
|
||||||
|
@ -597,7 +597,6 @@ stages:
|
||||||
artifactName: LinuxMuslCoreTests
|
artifactName: LinuxMuslCoreTests
|
||||||
containerImage: servarr/testimages:alpine
|
containerImage: servarr/testimages:alpine
|
||||||
pattern: 'Lidarr.**.linux-musl-core-x64.tar.gz'
|
pattern: 'Lidarr.**.linux-musl-core-x64.tar.gz'
|
||||||
|
|
||||||
pool:
|
pool:
|
||||||
vmImage: 'ubuntu-18.04'
|
vmImage: 'ubuntu-18.04'
|
||||||
|
|
||||||
|
@ -660,14 +659,14 @@ stages:
|
||||||
failBuild: true
|
failBuild: true
|
||||||
Mac:
|
Mac:
|
||||||
osName: 'Mac'
|
osName: 'Mac'
|
||||||
imageName: 'macos-10.14' # Fails due to firefox not being installed on image
|
imageName: 'macos-10.14'
|
||||||
pattern: 'Lidarr.**.osx-core-x64.tar.gz'
|
pattern: 'Lidarr.**.osx-core-x64.tar.gz'
|
||||||
failBuild: false
|
failBuild: true
|
||||||
Windows:
|
Windows:
|
||||||
osName: 'Windows'
|
osName: 'Windows'
|
||||||
imageName: 'windows-2019'
|
imageName: 'windows-2019'
|
||||||
pattern: 'Lidarr.**.windows-core-x64.zip'
|
pattern: 'Lidarr.**.windows-core-x64.zip'
|
||||||
failBuild: $(failOnAutomationFailure)
|
failBuild: true
|
||||||
|
|
||||||
pool:
|
pool:
|
||||||
vmImage: $(imageName)
|
vmImage: $(imageName)
|
||||||
|
@ -700,20 +699,6 @@ stages:
|
||||||
mkdir -p ./bin/
|
mkdir -p ./bin/
|
||||||
cp -r -v ${BUILD_ARTIFACTSTAGINGDIRECTORY}/bin/Lidarr/. ./bin/
|
cp -r -v ${BUILD_ARTIFACTSTAGINGDIRECTORY}/bin/Lidarr/. ./bin/
|
||||||
displayName: Move Package Contents
|
displayName: Move Package Contents
|
||||||
- bash: |
|
|
||||||
if [[ $OSNAME == "Mac" ]]; then
|
|
||||||
url=https://github.com/mozilla/geckodriver/releases/download/v0.26.0/geckodriver-v0.26.0-macos.tar.gz
|
|
||||||
elif [[ $OSNAME == "Linux" ]]; then
|
|
||||||
url=https://github.com/mozilla/geckodriver/releases/download/v0.26.0/geckodriver-v0.26.0-linux64.tar.gz
|
|
||||||
else
|
|
||||||
echo "Unhandled OS"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
curl -s -L "$url" | tar -xz
|
|
||||||
chmod +x geckodriver
|
|
||||||
mv geckodriver _tests
|
|
||||||
displayName: Install Gecko Driver
|
|
||||||
condition: and(succeeded(), ne(variables['osName'], 'Windows'))
|
|
||||||
- bash: |
|
- bash: |
|
||||||
chmod a+x ${TESTSFOLDER}/test.sh
|
chmod a+x ${TESTSFOLDER}/test.sh
|
||||||
${TESTSFOLDER}/test.sh ${OSNAME} Automation Test
|
${TESTSFOLDER}/test.sh ${OSNAME} Automation Test
|
||||||
|
@ -728,6 +713,7 @@ stages:
|
||||||
- publish: $(Build.ArtifactStagingDirectory)/screenshots
|
- publish: $(Build.ArtifactStagingDirectory)/screenshots
|
||||||
artifact: '$(osName)AutomationScreenshots'
|
artifact: '$(osName)AutomationScreenshots'
|
||||||
displayName: Publish Screenshot Bundle
|
displayName: Publish Screenshot Bundle
|
||||||
|
condition: and(succeeded(), eq(variables['System.JobAttempt'], '1'))
|
||||||
- task: PublishTestResults@2
|
- task: PublishTestResults@2
|
||||||
inputs:
|
inputs:
|
||||||
testResultsFormat: 'NUnit'
|
testResultsFormat: 'NUnit'
|
||||||
|
|
|
@ -1,116 +0,0 @@
|
||||||
<RuleSet Name="Stylecop.ruleset" Description="Rules for Radarr" ToolsVersion="15.0">
|
|
||||||
<Rules AnalyzerId="StyleCop.CSharp.SpecialRules"
|
|
||||||
RuleNamespace="StyleCop.CSharp.SpecialRules">
|
|
||||||
<Rule Id="SA0001" Action="None" />
|
|
||||||
</Rules>
|
|
||||||
<Rules AnalyzerId="StyleCop.CSharp.SpacingRules"
|
|
||||||
RuleNamespace="StyleCop.CSharp.SpacingRules">
|
|
||||||
<Rule Id="SA1005" Action="None" />
|
|
||||||
<Rule Id="SA1025" Action="None" />
|
|
||||||
</Rules>
|
|
||||||
<Rules AnalyzerId="StyleCop.CSharp.ReadabilityRules"
|
|
||||||
RuleNamespace="StyleCop.CSharp.ReadabilityRules">
|
|
||||||
<Rule Id="SA1101" Action="None" />
|
|
||||||
<Rule Id="SA1116" Action="None" />
|
|
||||||
<Rule Id="SA1118" Action="None" />
|
|
||||||
<Rule Id="SA1122" Action="None" />
|
|
||||||
</Rules>
|
|
||||||
<Rules AnalyzerId="StyleCop.CSharp.OrderingRules"
|
|
||||||
RuleNamespace="StyleCop.CSharp.OrderingRules">
|
|
||||||
<Rule Id="SA1201" Action="Info" />
|
|
||||||
<Rule Id="SA1202" Action="Info" />
|
|
||||||
<Rule Id="SA1204" Action="Info" />
|
|
||||||
</Rules>
|
|
||||||
<Rules AnalyzerId="StyleCop.CSharp.NamingRules"
|
|
||||||
RuleNamespace="StyleCop.CSharp.NamingRules">
|
|
||||||
<Rule Id="SA1300" Action="None" />
|
|
||||||
<Rule Id="SA1301" Action="None" />
|
|
||||||
<Rule Id="SA1303" Action="None" />
|
|
||||||
<Rule Id="SA1304" Action="None" />
|
|
||||||
<Rule Id="SA1306" Action="None" />
|
|
||||||
<Rule Id="SA1309" Action="None" />
|
|
||||||
<Rule Id="SA1310" Action="None" />
|
|
||||||
</Rules>
|
|
||||||
<Rules AnalyzerId="StyleCop.CSharp.MaintainabilityRules"
|
|
||||||
RuleNamespace="StyleCop.CSharp.MaintainabilityRules">
|
|
||||||
<Rule Id="SA1400" Action="Warning" />
|
|
||||||
<Rule Id="SA1401" Action="None" />
|
|
||||||
<Rule Id="SA1402" Action="None" />
|
|
||||||
<Rule Id="SA1404" Action="Info" />
|
|
||||||
<Rule Id="SA1405" Action="Info" />
|
|
||||||
<Rule Id="SA1406" Action="Info" />
|
|
||||||
<Rule Id="SA1409" Action="Info" />
|
|
||||||
<Rule Id="SA1410" Action="Info" />
|
|
||||||
<Rule Id="SA1411" Action="Info" />
|
|
||||||
<Rule Id="SA1412" Action="None" />
|
|
||||||
<Rule Id="SA1413" Action="None" />
|
|
||||||
<Rule Id="SA1414" Action="None" />
|
|
||||||
</Rules>
|
|
||||||
<Rules AnalyzerId="StyleCop.CSharp.LayoutRules"
|
|
||||||
RuleNamespace="StyleCop.CSharp.LayoutRules">
|
|
||||||
<Rule Id="SA1515" Action="None" />
|
|
||||||
<Rule Id="SA1516" Action="None" />
|
|
||||||
</Rules>
|
|
||||||
<Rules AnalyzerId="StyleCop.CSharp.DocumentationRules"
|
|
||||||
RuleNamespace="StyleCop.CSharp.DocumentationRules">
|
|
||||||
<Rule Id="SA1600" Action="None" />
|
|
||||||
<Rule Id="SA1601" Action="None" />
|
|
||||||
<Rule Id="SA1602" Action="None" />
|
|
||||||
<Rule Id="SA1603" Action="None" />
|
|
||||||
<Rule Id="SA1604" Action="None" />
|
|
||||||
<Rule Id="SA1605" Action="None" />
|
|
||||||
<Rule Id="SA1606" Action="None" />
|
|
||||||
<Rule Id="SA1607" Action="None" />
|
|
||||||
<Rule Id="SA1608" Action="None" />
|
|
||||||
<Rule Id="SA1609" Action="None" />
|
|
||||||
<Rule Id="SA1610" Action="None" />
|
|
||||||
<Rule Id="SA1611" Action="None" />
|
|
||||||
<Rule Id="SA1612" Action="None" />
|
|
||||||
<Rule Id="SA1613" Action="None" />
|
|
||||||
<Rule Id="SA1614" Action="None" />
|
|
||||||
<Rule Id="SA1615" Action="None" />
|
|
||||||
<Rule Id="SA1616" Action="None" />
|
|
||||||
<Rule Id="SA1617" Action="None" />
|
|
||||||
<Rule Id="SA1618" Action="None" />
|
|
||||||
<Rule Id="SA1619" Action="None" />
|
|
||||||
<Rule Id="SA1620" Action="None" />
|
|
||||||
<Rule Id="SA1621" Action="None" />
|
|
||||||
<Rule Id="SA1622" Action="None" />
|
|
||||||
<Rule Id="SA1623" Action="None" />
|
|
||||||
<Rule Id="SA1624" Action="None" />
|
|
||||||
<Rule Id="SA1625" Action="None" />
|
|
||||||
<Rule Id="SA1626" Action="None" />
|
|
||||||
<Rule Id="SA1627" Action="None" />
|
|
||||||
<Rule Id="SA1628" Action="None" />
|
|
||||||
<Rule Id="SA1629" Action="None" />
|
|
||||||
<Rule Id="SA1630" Action="None" />
|
|
||||||
<Rule Id="SA1631" Action="None" />
|
|
||||||
<Rule Id="SA1632" Action="None" />
|
|
||||||
<Rule Id="SA1633" Action="None" />
|
|
||||||
<Rule Id="SA1634" Action="None" />
|
|
||||||
<Rule Id="SA1635" Action="None" />
|
|
||||||
<Rule Id="SA1636" Action="None" />
|
|
||||||
<Rule Id="SA1637" Action="None" />
|
|
||||||
<Rule Id="SA1638" Action="None" />
|
|
||||||
<Rule Id="SA1639" Action="None" />
|
|
||||||
<Rule Id="SA1640" Action="None" />
|
|
||||||
<Rule Id="SA1641" Action="None" />
|
|
||||||
<Rule Id="SA1642" Action="None" />
|
|
||||||
<Rule Id="SA1643" Action="None" />
|
|
||||||
<Rule Id="SA1644" Action="None" />
|
|
||||||
<Rule Id="SA1645" Action="None" />
|
|
||||||
<Rule Id="SA1646" Action="None" />
|
|
||||||
<Rule Id="SA1647" Action="None" />
|
|
||||||
<Rule Id="SA1648" Action="None" />
|
|
||||||
<Rule Id="SA1649" Action="None" />
|
|
||||||
<Rule Id="SA1650" Action="None" />
|
|
||||||
<Rule Id="SA1651" Action="None" />
|
|
||||||
<Rule Id="SA1652" Action="None" />
|
|
||||||
</Rules>
|
|
||||||
<Rules AnalyzerId="StyleCop.CSharp.AlternativeRules"
|
|
||||||
RuleNamespace="StyleCop.CSharp.AlternativeRules">
|
|
||||||
<!-- Do not prefix local members with this -->
|
|
||||||
<Rule Id="SX1101" Action="Warning" />
|
|
||||||
<Rule Id="SX1309" Action="Warning" />
|
|
||||||
</Rules>
|
|
||||||
</RuleSet>
|
|
9
src/omnisharp.json
Normal file
9
src/omnisharp.json
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
"RoslynExtensionsOptions": {
|
||||||
|
"enableAnalyzersSupport": true,
|
||||||
|
"DocumentAnalysisTimeoutMs": 60000
|
||||||
|
},
|
||||||
|
"FormattingOptions": {
|
||||||
|
"enableEditorConfigSupport": true
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue