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"
|
2017-03-11 21:22:36 -08:00
|
|
|
|
2017-03-14 14:34:20 -05:00
|
|
|
environment:
|
2019-10-22 11:35:12 -05:00
|
|
|
matrix:
|
2025-01-02 16:57:59 -06:00
|
|
|
- job_name: Windows Build
|
2024-08-10 09:42:12 -05:00
|
|
|
platform: Any CPU
|
2022-01-05 21:16:47 -06:00
|
|
|
appveyor_build_worker_image: Visual Studio 2022
|
|
|
|
|
configuration: Release
|
2021-12-29 15:34:11 -06:00
|
|
|
- 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
|
|
|
|
2021-12-29 15:34:11 -06:00
|
|
|
matrix:
|
|
|
|
|
allow_failures:
|
2024-07-11 17:16:06 -05:00
|
|
|
- image: Ubuntu2204
|
2021-12-29 15:34:11 -06:00
|
|
|
|
2017-03-12 10:47:49 -07:00
|
|
|
pull_requests:
|
2019-10-26 20:03:38 -05:00
|
|
|
do_not_increment_build_number: false
|
2017-03-12 10:47:49 -07:00
|
|
|
|
|
|
|
|
nuget:
|
|
|
|
|
disable_publish_on_pr: true
|
|
|
|
|
|
2017-03-11 21:22:36 -08:00
|
|
|
build:
|
2017-03-12 10:26:49 -07:00
|
|
|
project: LibreMetaverse.sln
|
2017-03-11 21:22:36 -08:00
|
|
|
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
|
2017-03-12 10:47:49 -07:00
|
|
|
- '%LocalAppData%\NuGet\Cache'
|
2017-03-12 10:26:49 -07:00
|
|
|
|
2017-09-04 18:13:38 -05:00
|
|
|
dotnet_csproj:
|
2017-03-12 10:26:49 -07:00
|
|
|
patch: true
|
2021-12-28 19:25:54 -06:00
|
|
|
file: '**\*.csproj;**\*.props'
|
2017-09-04 18:13:38 -05:00
|
|
|
version: '{version}'
|
|
|
|
|
package_version: '{version}'
|
2017-03-11 21:22:36 -08:00
|
|
|
|
2017-03-11 21:26:28 -08:00
|
|
|
before_build:
|
2021-07-24 12:15:59 -05:00
|
|
|
- dotnet --info
|
2022-01-04 14:15:28 -06:00
|
|
|
- dotnet restore LibreMetaverse.sln
|
2017-03-12 10:51:35 -07:00
|
|
|
|
2020-01-23 11:24:15 -06:00
|
|
|
artifacts:
|
|
|
|
|
- path: 'nuget_libraries.zip'
|
|
|
|
|
name: 'Nuget Library Archive'
|
|
|
|
|
type: Auto
|
2024-08-01 22:25:10 -05:00
|
|
|
- path: 'nuget_libraries_symbols.zip'
|
|
|
|
|
name: 'Nuget Library Symbols'
|
|
|
|
|
type: Auto
|
2021-07-24 10:10:18 -05:00
|
|
|
|
|
|
|
|
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
|
2021-07-24 10:10:18 -05:00
|
|
|
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
|
2021-07-24 10:10:18 -05:00
|
|
|
- provider: GitHub
|
|
|
|
|
name: github_releases
|
2024-12-29 21:24:32 -06:00
|
|
|
description: Release v$(TAG_VERSION)
|
2021-07-24 10:10:18 -05:00
|
|
|
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
|
2021-07-24 10:10:18 -05:00
|
|
|
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
|
2025-01-02 12:58:20 -06:00
|
|
|
|
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:
|
2024-07-07 14:18:32 -05:00
|
|
|
# - 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
|
2024-08-01 22:25:10 -05:00
|
|
|
- ps: Get-ChildItem -Filter "*.snupkg" -Path "C:\Users\appveyor\AppData\Local\Temp\" -recurse | Compress-Archive -DestinationPath "nuget_libraries_symbols.zip" -Verbose
|