diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a3f0b11..96273f0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,26 +1,9 @@ -name: CI on Push and Pull Request +name: Build Android and iOS on: [push, pull_request] jobs: - Practice: - runs-on: macos-latest - steps: - - uses: actions/checkout@v1 - - name: Run a one-line script - run: echo Hello, world! - - name: Run a multi-line script - run: | - echo Add other actions to build, - echo test, and deploy your project. - - name: Show what's in the directory - run: | - ls - - name: Show what all is in the parent directory - run: | - cd .. - ls Android: runs-on: macos-latest @@ -31,3 +14,13 @@ jobs: nuget restore cd Droid msbuild qController.Droid.csproj /verbosity:normal /t:Rebuild /p:Configuration=Debug + iOS: + runs-on: macos-latest + steps: + - uses: actions/checkout@v1 + - name: iOS + run: | + cd Blank + nuget restore + cd iOS + msbuild qController.iOS.csproj /verbosity:normal /t:Rebuild /p:Platform=iPhoneSimulator /p:Configuration=Debug