From 67a4646a50b4d7d3b58b73065f60e04b0958d634 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 5 Jun 2020 13:51:57 -0400 Subject: [PATCH] try out github actions --- .github/workflows/build.yml | 39 +++++++++++++++++++++++++++++++++++++ bitwarden-mobile.sln | 1 + 2 files changed, 40 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 000000000..da3bcea29 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,39 @@ +name: Build + +on: push + +jobs: + + android: + + runs-on: windows-latest + + steps: + - name: Print environment + run: | + echo 'TODO' + + - name: Checkout repo + uses: actions/checkout@v2 + + - name: Build app + run: | + nuget restore + msbuild ./src/Android/Android.csproj /verbosity:normal /t:Rebuild /p:Configuration=Debug + + ios: + + runs-on: macos-latest + + steps: + - name: Print environment + run: | + echo 'TODO' + + - name: Checkout repo + uses: actions/checkout@v2 + + - name: Build app + run: | + nuget restore + msbuild ./src/iOS/iOS.csproj /verbosity:normal /t:Rebuild /p:Platform=iPhoneSimulator /p:Configuration=Debug diff --git a/bitwarden-mobile.sln b/bitwarden-mobile.sln index c99be8764..226e23ecf 100644 --- a/bitwarden-mobile.sln +++ b/bitwarden-mobile.sln @@ -24,6 +24,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution .editorconfig = .editorconfig .gitignore = .gitignore appveyor.yml = appveyor.yml + .github\workflows\build.yml = .github\workflows\build.yml CONTRIBUTING.md = CONTRIBUTING.md crowdin.yml = crowdin.yml README.md = README.md