Rewrote iOS renderer, TouchInputPage and refactoring #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this is based on https://github.com/irongut/MauiBeach/blob/master/.github/workflows/ci-build.yml | |
# and https://raw.githubusercontent.com/the49ltd/Rive.Maui/main/.github/workflows | |
# this might be useful, too: | |
# https://github.com/dotnet/maui-samples/blob/main/8.0/Apps/WeatherTwentyOne/devops/GitHubActions/ | |
name: CI Build | |
on: | |
pull_request: | |
branches: | |
- main | |
# push: | |
# # this will trigger a build on any tag push - you can optionally specify a tag format here | |
# tags: | |
# - "*" | |
workflow_dispatch: | |
permissions: | |
contents: read | |
env: | |
DOTNET_NOLOGO: true # Disable the .NET logo | |
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true # Disable the .NET first time experience | |
DOTNET_CLI_TELEMETRY_OPTOUT: true # Disable sending .NET CLI telemetry | |
jobs: | |
# Check if it even builds | |
sanity-check-build: | |
runs-on: macos-13 | |
name: Build | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
# Use Xcode 15.2 until 15.3 is recommended | |
# see https://github.com/dotnet/maui/issues/21057 | |
- name: Select Xcode 15.2 | |
run: sudo xcode-select -s /Applications/Xcode_15.2.app | |
- name: Setup .NET according to global.json | |
uses: actions/setup-dotnet@v4 | |
with: | |
global-json-file: global.json | |
- name: Install MAUI Workload | |
run: dotnet workload install maui | |
- name: Create staging folder | |
run: mkdir -p staging | |
- name: Build package | |
run: | | |
dotnet pack -o staging -c Debug src/Rive.Android/Rive.Android.csproj /p:VersionSuffix="-pr-${{ github.event.number }}" | |
dotnet pack -o staging -c Debug src/Rive.iOS/Rive.iOS.csproj /p:VersionSuffix="-pr-${{ github.event.number }}" | |
dotnet pack -o staging -c Debug src/Rive.Maui/Rive.Maui.csproj /p:VersionSuffix="-pr-${{ github.event.number }}" | |
- name: Upload NuGet Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: rive-ci-build | |
path: staging |