Skip to content

Commit

Permalink
test ios
Browse files Browse the repository at this point in the history
  • Loading branch information
Kukks committed Dec 10, 2024
1 parent 3142f33 commit c635520
Showing 1 changed file with 36 additions and 26 deletions.
62 changes: 36 additions & 26 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,29 +137,39 @@ jobs:
name: android build
path: |
publish/android
# need a apple dev account to continue on this
# build-ios:
# runs-on: macos-latest
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: recursive
# - name: Setup Xcode version
# uses: maxim-lobanov/[email protected]
# with:
# xcode-version: 16.0
# - name: Setup .NET
# uses: actions/setup-dotnet@v4
# with:
# dotnet-version: 8.0.x
# - name: Install workloads
# run: dotnet workload install maui
# - name: Build
# run: dotnet publish BTCPayApp.Maui/BTCPayApp.Maui.csproj -f net8.0-ios -c Debug -o publish/ios
# - name: Upload artifact
# uses: actions/upload-artifact@v4
# with:
# name: ios build
# path: |
# publish/ios
build-ios:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup Xcode version
uses: maxim-lobanov/[email protected]
with:
xcode-version: 16.0
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Install workloads
run: dotnet workload install maui
- name: Import Code-Signing Certificates
uses: Apple-Actions/import-codesign-certs@v1
with:
p12-file-base64: ${{ secrets.CERT_P12_BASE64 }}
- name: Download Apple Provisioning Profiles
uses: Apple-Actions/download-provisioning-profiles@v1
with:
bundle-id: ${{ secrets.APPLE_BUNDLE_ID }}
issuer-id: ${{ secrets.APPLE_ISSUER_ID }}
api-key-id: ${{ secrets.APPLE_KEY_ID }}
api-private-key: ${{ secrets.APPLE_KEY }}
- name: Build
run: dotnet publish BTCPayApp.Maui/BTCPayApp.Maui.csproj -f net8.0-ios -c Debug -o publish/ios
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: ios build
path: |
publish/ios

0 comments on commit c635520

Please sign in to comment.