DiffEngine/appveyor.yml

28 строки
1.1 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
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'
dotnet build src --configuration Release
dotnet test src --configuration Release --no-build --no-restore
}
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'
}
dotnet build src --configuration Release-NotWindows
dotnet test src --configuration Release-NotWindows --no-build --no-restore
}
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