Files
libremetaverse/.appveyor.yml

114 lines
3.2 KiB
YAML
Raw Normal View History

2017-03-12 10:26:49 -07:00
init:
2025-07-18 19:55:53 -05:00
- ps: if ($env:APPVEYOR_REPO_TAG -eq "true") { $env:TAG_VERSION = "$env:APPVEYOR_REPO_TAG_NAME.$env:APPVEYOR_BUILD_NUMBER" } else { $env:TAG_VERSION = "v2.5.0.$env:APPVEYOR_BUILD_NUMBER-alpha" }
2017-03-12 10:26:49 -07:00
- ps: $env:TAG_VERSION = $env:TAG_VERSION -replace 'v',''
- ps: Write-Host "Setting version to '$env:TAG_VERSION'"
- ps: Update-AppveyorBuild -Version "$env:TAG_VERSION"
environment:
matrix:
2025-01-02 16:57:59 -06:00
- job_name: Windows Build
2024-08-10 09:42:12 -05:00
platform: Any CPU
appveyor_build_worker_image: Visual Studio 2022
configuration: Release
- job_name: Linux Build
2024-08-10 09:42:12 -05:00
platform: Any CPU
2024-06-30 17:59:18 -05:00
appveyor_build_worker_image: Ubuntu2204
2024-07-18 11:45:23 -05:00
configuration: Release
2019-10-22 18:19:48 -05:00
2021-07-23 23:28:31 -05:00
LMVTestAgentUsername: SecretAgentTest Resident
LMVTestAgentPassword:
secure: bOoXrGfLiHjZlCG1tJ+nDQ==
PfxDownloadUrl:
2022-11-28 16:28:09 -06:00
secure: T8uKu+tTR2G7LDE1zPGNOi+prl4YaKXP6DOC5eU6A14FEQkd8PFR3nQ1WMwryphJ
2021-07-23 23:28:31 -05:00
PfxDownloadPasswd:
2022-11-05 11:09:47 -05:00
secure: nAIqrjhaoamhiuAcae/xNw==
2021-07-23 23:28:31 -05:00
PfxPassword:
secure: +vWSGzLkiBGVIxfPb+iRtD+/maQjI2d92hN4PoNAxMc=
2025-01-02 16:57:59 -06:00
DOTNET_CLI_TELEMETRY_OPTOUT: true
2025-01-02 19:29:35 -06:00
DOTNET_CLI_WORKLOAD_UPDATE_NOTIFY_DISABLE: true
2021-07-23 23:28:31 -05:00
matrix:
allow_failures:
2024-07-11 17:16:06 -05:00
- image: Ubuntu2204
pull_requests:
do_not_increment_build_number: false
nuget:
disable_publish_on_pr: true
build:
2017-03-12 10:26:49 -07:00
project: LibreMetaverse.sln
parallel: true
verbosity: minimal
2017-03-12 10:26:49 -07:00
publish_nuget: true
2022-01-13 11:10:23 -06:00
publish_nuget_symbols: true
2022-01-24 09:15:29 -06:00
use_snupkg_format: true
2017-03-12 10:26:49 -07:00
cache:
- packages -> **\packages.config
- '%LocalAppData%\NuGet\Cache'
2017-03-12 10:26:49 -07:00
dotnet_csproj:
2017-03-12 10:26:49 -07:00
patch: true
2021-12-28 19:25:54 -06:00
file: '**\*.csproj;**\*.props'
version: '{version}'
package_version: '{version}'
before_build:
2021-07-24 12:15:59 -05:00
- dotnet --info
- dotnet restore LibreMetaverse.sln
artifacts:
- path: 'nuget_libraries.zip'
name: 'Nuget Library Archive'
type: Auto
- path: 'nuget_libraries_symbols.zip'
name: 'Nuget Library Symbols'
type: Auto
deploy:
- provider: NuGet
name: nuget_release
api_key:
2024-12-23 18:50:33 -06:00
secure: 43t/Xitgn6+MOe2nh5dHPxR7Hk7dtETAGzvX9oeKomg0JVg9CIYfJb5IolXqdgxL
2022-01-13 11:10:23 -06:00
artifact: /.*LibreMetaverse.*(\.|\.s)nupkg/
skip_symbols: false
draft: false
prerelease: false
on:
2025-01-02 16:57:59 -06:00
job_name: Windows build
2021-07-24 12:15:59 -05:00
APPVEYOR_REPO_TAG: true
- provider: GitHub
name: github_releases
2024-12-29 21:24:32 -06:00
description: Release v$(TAG_VERSION)
auth_token:
2024-08-07 14:14:28 -05:00
secure: KPXQ74CJ+1aD3/H12JeVwMedPvcyr4aL9O/CFL8sGJHN/WZCYjKw92m8CodgO90D
2022-01-13 11:10:23 -06:00
artifact: /.*LibreMetaverse.*(\.|\.s)nupkg/
2021-12-29 19:17:11 -06:00
skip_symbols: false
draft: false
prerelease: false
on:
2025-01-02 16:57:59 -06:00
job_name: Windows build
2021-07-24 12:15:59 -05:00
APPVEYOR_REPO_TAG: true
for:
2024-08-23 18:39:49 -05:00
-
matrix:
2025-01-02 16:57:59 -06:00
only:
2024-08-25 14:51:42 -05:00
- job_name: Linux Build
2025-01-02 19:29:35 -06:00
2025-01-02 16:57:59 -06:00
test: off # remove either when mono stops crashing or we stop supporting net481
2021-07-24 12:15:59 -05:00
-
matrix:
only:
2025-01-02 16:57:59 -06:00
- job_name: Windows Build
2021-07-24 12:15:59 -05:00
2025-01-19 06:47:04 -06:00
test: off
2021-07-24 12:15:59 -05:00
after_build:
# - ps: util/InstallRemotePfx.ps1 -PfxDownloadUrl $env:PfxDownloadUrl -PfxDownloadUser AppVeyor -PfxDownloadPasswd $env:PfxDownloadPasswd -PfxPasswd $env:PfxPassword
# - ps: util/SignPackages.ps1 -PfxPasswd $env:PfxPassword
2022-01-05 09:14:14 -06:00
- ps: Get-ChildItem -Filter "*.nupkg" -Path "C:\Users\appveyor\AppData\Local\Temp\" -recurse | Compress-Archive -DestinationPath "nuget_libraries.zip" -Verbose
- ps: Get-ChildItem -Filter "*.snupkg" -Path "C:\Users\appveyor\AppData\Local\Temp\" -recurse | Compress-Archive -DestinationPath "nuget_libraries_symbols.zip" -Verbose