bitwarden-mobile/.github/workflows/build.yml

50 lines
907 B
YAML
Raw Normal View History

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
- name: Build app
run: |
nuget restore
2020-06-05 20:39:29 +02:00
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
- name: Build app
run: |
nuget restore
2020-06-05 20:39:29 +02:00
msbuild /verbosity:normal /p:Platform=iPhone /p:Configuration=Debug