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