Skip to content

Commit

Permalink
attempt to add iOS builds
Browse files Browse the repository at this point in the history
  • Loading branch information
AnnoyingRain5 committed Nov 29, 2023
1 parent 570a763 commit 086d7aa
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: sudo flatpak install --noninteractive --assumeyes flathub org.freedesktop.Platform//22.08 org.freedesktop.Sdk//22.08
- name: Get PupNet
run: dotnet tool install -g KuiperZone.PupNet

- name: Build RPM
run: pupnet -y -k rpm -o CrankItUp.rpm
- name: Build deb
Expand Down Expand Up @@ -87,3 +87,34 @@ jobs:
with:
name: CrankItUp-Windows
path: CrankItUp.Desktop/bin/Debug/net6.0/*

build-ios:

runs-on: macos-latest

steps:
- uses: actions/checkout@v4
- name: Set default Xamarin SDK versions
run: |
$VM_ASSETS/select-xamarin-sdk-v2.sh --mono=6.12 --ios=14.10
- name: Set default Xcode 12.3
run: |
XCODE_ROOT=/Applications/Xcode_12.3.0.app
echo "MD_APPLE_SDK_ROOT=$XCODE_ROOT" >> $GITHUB_ENV
sudo xcode-select -s $XCODE_ROOT
- name: Setup .NET Core SDK 6.0.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

- name: Install dependencies
run: nuget restore
- name: Build
run: msbuild CrankItUp.iOS /p:BuildIpa=True /p:IpaPackageDir=/bin /p:IpaPackageName=CrankItUp.ipa /p:Platform=iPhone /p:Configuration=Release /t:Build

- uses: actions/[email protected]
with:
name: CrankItUp-iOS
path: bin/CrankItUp.ipa

0 comments on commit 086d7aa

Please sign in to comment.