mirror of
https://github.com/jwetzell/qController.git
synced 2026-08-06 07:53:47 +00:00
744e826113
Bumps [actions/checkout](https://github.com/actions/checkout) from 1 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v1...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
42 lines
1.0 KiB
YAML
42 lines
1.0 KiB
YAML
|
|
name: Build Android and iOS
|
|
|
|
on:
|
|
# Trigger the workflow on push or pull request,
|
|
# but only for the master branch
|
|
push:
|
|
branches:
|
|
- master
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
jobs:
|
|
|
|
Android:
|
|
runs-on: windows-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
name: Checkout Code
|
|
- name: Add msbuild to PATH
|
|
uses: microsoft/setup-msbuild@v1.3.1
|
|
- name: Setup NuGet.exe for use with actions
|
|
uses: NuGet/setup-nuget@v1.2.0
|
|
- name: Restore NuGet Packages
|
|
run: nuget restore
|
|
- name: Build Application
|
|
run: |
|
|
cd Droid
|
|
msbuild qController.Droid.csproj /verbosity:normal /t:Rebuild /p:Configuration=Debug
|
|
iOS:
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
name: Checkout Code
|
|
- name: Restore NuGet Packages
|
|
run: nuget restore
|
|
- name: Build Application
|
|
run: |
|
|
cd iOS
|
|
msbuild qController.iOS.csproj /verbosity:normal /t:Rebuild /p:Platform=iPhoneSimulator /p:Configuration=Debug
|
|
|