forked from opentk/opentk
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathappveyor.yml
24 lines (20 loc) · 1.04 KB
/
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
image: Visual Studio 2022
install:
# Download the Android SDK tools
- appveyor DownloadFile https://dl.google.com/android/repository/commandlinetools-win-9123335_latest.zip -FileName android-tools.zip
- 7z x android-tools.zip -oc:\android-tools
# Install Android 31 platform
- c:\android-tools\cmdline-tools\bin\sdkmanager.bat --install platforms;android-31 --sdk_root="C:\Program Files (x86)\Android\android-sdk"
build_script:
- cmd: dotnet workload restore
- cmd: dotnet restore
- cmd: dotnet run --project src/Generator.Bind/Generator.Bind.csproj -c:Release
- cmd: dotnet pack src/osuTK/osuTK.NS20.csproj -c:Release /p:Version=%APPVEYOR_BUILD_VERSION%
- cmd: dotnet pack src/osuTK.iOS/osuTK.iOS.csproj -c:Release /p:Version=%APPVEYOR_BUILD_VERSION%
- cmd: dotnet pack src/osuTK.Android/osuTK.Android.csproj -c:Release /p:Version=%APPVEYOR_BUILD_VERSION%
test: off
version: 1.0.{build}
artifacts:
- path: 'src\osuTK\bin\Release\*.nupkg'
- path: 'src\osuTK.iOS\bin\Release\*.nupkg'
- path: 'src\osuTK.Android\bin\Release\*.nupkg'