Skip to content

Update facebook to net9.0, cut NativeLibraryInterop.BuildTasks #109

Update facebook to net9.0, cut NativeLibraryInterop.BuildTasks

Update facebook to net9.0, cut NativeLibraryInterop.BuildTasks #109

Workflow file for this run

name: validation
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
build:
name: build
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use .NET 9.x
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.x'
dotnet-quality: 'preview'
# Temporarily install newer runtime for iOS binding projects
- name: Install .NET 9 RTM runtime
run: >
DOTNET_ROOT=~/.dotnet/ &&
curl -L https://dot.net/v1/dotnet-install.sh --retry 5 --retry-max-time 300 > dotnet-install.sh &&

Check failure on line 28 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 28
chmod +x dotnet-install.sh &&
./dotnet-install.sh -c 9.0 -q daily --runtime dotnet
- name: Install JDK 17
uses: actions/setup-java@v4
with:
distribution: microsoft
java-version: 17
- name: Use Xcode 15.4
run: sudo xcode-select -s /Applications/Xcode_15.4.app/Contents/Developer
- name: Install MAUI
run: dotnet workload install maui
- name: Install boots
run: dotnet tool update -v:d boots --version 1.1.0.36 --add-source "https://api.nuget.org/v3/index.json" --global
- name: Install Classic XI
run: boots https://download.visualstudio.microsoft.com/download/pr/ceb0ea3f-4db8-46b4-8dc3-8049d27c0107/3960868aa9b1946a6c77668c3f3334ee/xamarin.ios-16.4.0.23.pkg
- 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/