2020-06-05 19:51:57 +02:00
|
|
|
name: Build
|
|
|
|
|
|
|
|
on: push
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
android:
|
|
|
|
|
|
|
|
runs-on: windows-latest
|
|
|
|
|
|
|
|
steps:
|
2020-06-05 20:39:29 +02:00
|
|
|
- name: Set up NuGet
|
2020-06-05 20:40:44 +02:00
|
|
|
uses: nuget/setup-nuget@v1
|
2020-06-05 20:39:29 +02:00
|
|
|
with:
|
|
|
|
nuget-version: 'latest'
|
|
|
|
|
|
|
|
- name: Set up MSBuild
|
2020-06-05 20:40:44 +02:00
|
|
|
uses: microsoft/setup-msbuild@v1.0.0
|
2020-06-05 20:39:29 +02:00
|
|
|
|
2020-06-05 19:51:57 +02:00
|
|
|
- name: Print environment
|
|
|
|
run: |
|
2020-06-05 20:39:29 +02:00
|
|
|
nuget help
|
|
|
|
msbuild -version
|
2020-06-05 19:51:57 +02:00
|
|
|
|
|
|
|
- name: Checkout repo
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
2020-06-05 21:23:15 +02:00
|
|
|
- name: Restore packages
|
|
|
|
run: nuget restore
|
|
|
|
|
2020-06-05 19:51:57 +02:00
|
|
|
- name: Build app
|
2020-06-05 21:23:15 +02:00
|
|
|
run: msbuild ./src/Android/Android.csproj /p:Configuration=Debug
|
2020-06-05 19:51:57 +02:00
|
|
|
|
|
|
|
ios:
|
|
|
|
|
|
|
|
runs-on: macos-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Print environment
|
|
|
|
run: |
|
2020-06-05 20:39:29 +02:00
|
|
|
nuget help
|
|
|
|
msbuild -version
|
2020-06-05 19:51:57 +02:00
|
|
|
|
|
|
|
- name: Checkout repo
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
2020-06-05 21:23:15 +02:00
|
|
|
- name: Restore packages
|
|
|
|
run: nuget restore
|
|
|
|
|
2020-06-05 19:51:57 +02:00
|
|
|
- name: Build app
|
2020-06-05 21:31:30 +02:00
|
|
|
run: msbuild ./src/iOS/iOS.csproj /verbosity:normal /p:Platform=iPhone /p:Configuration=Debug
|