Skip to content

[ci] Use Xcode 16.1 #123

[ci] Use Xcode 16.1

[ci] Use Xcode 16.1 #123

Workflow file for this run

name: validation
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
build:
name: build
runs-on: macos-15
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use .NET 9.0.x
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Install JDK 17
uses: actions/setup-java@v4
with:
distribution: microsoft
java-version: 17
- name: Setup Android SDK
uses: android-actions/setup-android@v3
with:
cmdline-tools-version: 11076708
packages: 'build-tools;35.0.0'
- name: Use Xcode 16.1
run: sudo xcode-select -s /Applications/Xcode_16.1.app/Contents/Developer
- name: Install MAUI
run: dotnet workload install maui
- name: Install Sharpie
run: brew install objectivesharpie
- name: Create logs dir
run: mkdir -p ${{ runner.temp }}/logs/
- name: Build template
working-directory: ./template
run: dotnet build -bl:${{ runner.temp }}/logs/template.binlog
- name: Build facebook
working-directory: ./facebook
run: dotnet build -bl:${{ runner.temp }}/logs/facebook.binlog
- name: Build firebase
working-directory: ./firebase
run: dotnet build -bl:${{ runner.temp }}/logs/firebase.binlog
- name: Build googlecast
working-directory: ./googlecast
run: dotnet build -bl:${{ runner.temp }}/logs/googlecast.binlog
- name: Upload logs
uses: actions/upload-artifact@v4
if: always()
with:
name: build-logs
path: ${{ runner.temp }}/logs/