DiffEngine/appveyor.yml

31 строка
1.2 KiB
YAML
Исходник Постоянная ссылка Обычный вид История

2021-10-03 08:33:11 +03:00
image:
2021-11-11 02:07:37 +03:00
- Visual Studio 2022
2021-10-03 08:33:11 +03:00
- macOS
#- Ubuntu
2022-08-09 13:10:22 +03:00
environment:
DOTNET_CLI_TELEMETRY_OPTOUT: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
2020-11-10 14:41:52 +03:00
build_script:
2021-09-25 11:33:20 +03:00
- pwsh: |
2021-10-03 08:33:11 +03:00
if ($isWindows) {
Invoke-WebRequest "https://dot.net/v1/dotnet-install.ps1" -OutFile "./dotnet-install.ps1"
./dotnet-install.ps1 -JSonFile src/global.json -Architecture x64 -InstallDir 'C:\Program Files\dotnet'
2022-08-09 07:05:48 +03:00
dotnet build src --configuration Release --nologo
dotnet test src --configuration Release --no-build --no-restore --nologo
2021-10-03 08:33:11 +03:00
}
else {
Invoke-WebRequest "https://dot.net/v1/dotnet-install.sh" -OutFile "./dotnet-install.sh"
sudo chmod u+x dotnet-install.sh
if ($isMacOS) {
sudo ./dotnet-install.sh --jsonfile src/global.json --architecture x64 --install-dir '/usr/local/share/dotnet'
} else {
sudo ./dotnet-install.sh --jsonfile src/global.json --architecture x64 --install-dir '/usr/share/dotnet'
}
2022-08-09 07:05:48 +03:00
dotnet build src --configuration Release-NotWindows --nologo
dotnet test src --configuration Release-NotWindows --no-build --no-restore --nologo
2021-10-03 08:33:11 +03:00
}
2020-08-31 12:56:29 +03:00
on_failure:
2021-10-03 08:33:11 +03:00
- ps: Get-ChildItem *.received.* -recurse | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
test: off
artifacts:
- path: nugets\*.nupkg