Skip to content

Revert "Fix ADSB Squawk back to decimal" #2307

Revert "Fix ADSB Squawk back to decimal"

Revert "Fix ADSB Squawk back to decimal" #2307

Workflow file for this run

name: OSX Build
on: [push, workflow_dispatch, pull_request]
jobs:
buildIOS:
name: Build IOS
runs-on: macos-13
steps:
- uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 10
- name: Cache multiple paths
uses: actions/cache@v2
with:
path: |
**/obj/**
key: ${{ runner.os }}-buildIOS
- name: Build
shell: pwsh
run: |
brew install --cask xamarin-ios
brew install --cask xamarin-android
brew install --cask xamarin-mac
msbuild -ver
dotnet --version
dotnet --list-sdks
msbuild -v:m -restore -p:Configuration=Release "ExtLibs\Xamarin\Xamarin.iOS\Xamarin.iOS.csproj"
- uses: actions/upload-artifact@v4
with:
name: ios
path: ExtLibs/Xamarin/Xamarin.iOS/bin/iPhoneSimulator/Release/
buildOSX:
name: Build OSX
runs-on: macos-13
steps:
- uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 10
- name: Cache multiple paths
uses: actions/cache@v2
with:
path: |
**/obj/**
key: ${{ runner.os }}-buildOSX
- name: Build
shell: pwsh
run: |
brew install --cask xamarin-ios
brew install --cask xamarin-android
brew install --cask xamarin-mac
msbuild -ver
dotnet --version
dotnet --list-sdks
msbuild -v:m -restore -p:Configuration=Release "ExtLibs\Xamarin\Xamarin.MacOS\Xamarin.MacOS.csproj"
- name: Package
shell: pwsh
continue-on-error: true
run: |
npm install --global create-dmg
cd ExtLibs/Xamarin/Xamarin.MacOS/bin/Release/
create-dmg 'Mission Planner.app' --dmg-title='Mission Planner'
- uses: actions/upload-artifact@v4
with:
name: osx
path: |
ExtLibs/Xamarin/Xamarin.MacOS/bin/Release/*.dmg
- uses: "marvinpinto/[email protected]"
if: ${{ github.event_name == 'push' }}
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "osxlatest"
prerelease: true
title: "OSX Development Build"
files: '**/*.dmg'