From d2e8310f1e6fed99cbb406ee857fc3fab613513b Mon Sep 17 00:00:00 2001 From: Saamer Mansoor Date: Sun, 12 Jan 2020 20:07:56 -0500 Subject: [PATCH] Created main.yml file to setup GitHub Action * Added main.yml file that orders 2 jobs on every push and merge request * One job is to build iOS and the other builds Android --- .github/workflows/main.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..6709038 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,25 @@ +name: CI on Push and Pull Request + +on: [push, pull_request] + +jobs: + Android: + runs-on: macos-latest + steps: + - uses: actions/checkout@v1 + - name: Android + run: | + cd CauserException + nuget restore + cd CauserException.Android + msbuild CauserException.Android.csproj /verbosity:normal /t:Rebuild /p:Configuration=Debug + + iOS: + runs-on: macos-latest + steps: + - uses: actions/checkout@v1 + - name: iOS + run: | + cd CauserException + nuget restore + msbuild CauserException.iOS/CauserException.iOS.csproj /verbosity:normal /t:Rebuild /p:Platform=iPhoneSimulator /p:Configuration=Debug