ModernUO/azure-pipelines.yml
Kamron Batman 5bd41d5b68
feat: Adds .NET 7 & Arm64 support (#1229)
## BREAKING CHANGE
**Publishing for linux will no longer include runtimes**

## Major Changes
* Adds .NET 7 support.
* Adds ARM64 support (experimental).
* Changes linux support to be open-ended against anything .NET 7 supports.
* Fixes native library resolutions. (Make sure to install `dev` versions of the libraries)
* Updates README
* Adds Ubuntu 22, CentOS 8/9 Stream to CI/CD.

## TODOs:
* Update modernuo.com docs

Closes #1173
Closes #1159
2022-11-06 09:59:11 -08:00

26 lines
518 B
YAML

name: 'Build'
trigger:
- main
variables:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: 1
jobs:
- job: BuildWindows
displayName: 'Windows Server 2022'
pool:
vmImage: 'windows-latest'
steps:
- task: UseDotNet@2
displayName: 'Install .NET 7'
inputs:
packageType: sdk
version: 7.0.100-rc.2.22477.23
- task: NuGetAuthenticate@1
- script: ./publish.cmd Release
displayName: 'Build'
- script: dotnet test --no-restore
displayName: 'Test'