forked from DanHarltey/Fastenshtein
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
executable file
·28 lines (27 loc) · 957 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
image:
- Visual Studio 2022
- Ubuntu
- macOS
install:
- pwsh: |
if ($isWindows) {
Invoke-WebRequest "https://dot.net/v1/dotnet-install.ps1" -OutFile "./dotnet-install.ps1"
./dotnet-install.ps1 -InstallDir 'C:\Program Files\dotnet'
}
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 --install-dir '/usr/local/share/dotnet'
} else {
sudo ./dotnet-install.sh --install-dir '/usr/share/dotnet'
}
}
build_script:
- cd scripts
- cmd: bash -c "./dotnet_build.sh"
- sh: ./dotnet_build.sh
- dotnet ../benchmarks/Fastenshtein.Benchmarking/bin/Release/net8.0/Fastenshtein.Benchmarking.dll
artifacts:
- path: scripts/BenchmarkDotNet.Artifacts
name: Benchmark results - $(APPVEYOR_BUILD_WORKER_IMAGE)