mirror of
https://github.com/bitsycore/skiko.git
synced 2026-10-05 14:37:26 +00:00
Add the step to patch all C/C++ symbols for iOS and tvOS targets to prevent symbol clashes when the user's app uses another skia library, or one of its dependencies. Fixes: https://youtrack.jetbrains.com/issue/CMP-6845/How-to-use-compose-multiplatform-on-iOS-in-app-with-lib-skia-dependency --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
34 lines
1.0 KiB
YAML
34 lines
1.0 KiB
YAML
name: 'Setup Prerequisites'
|
|
description: 'Shared steps to prepare build environment'
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Free up space on GitHub runner
|
|
if: runner.os == 'Linux'
|
|
shell: bash
|
|
run: |
|
|
df -h
|
|
sudo rm -rf /usr/share/dotnet
|
|
sudo rm -rf /opt/ghc
|
|
sudo rm -rf /opt/hostedtoolcache/CodeQL
|
|
df -h
|
|
|
|
- name: Install LLVM
|
|
if: runner.os == 'macOS'
|
|
shell: bash
|
|
run: brew install llvm
|
|
|
|
- name: Setup Gradle
|
|
uses: gradle/actions/setup-gradle@v4
|
|
with:
|
|
# Only save Gradle User Home state for builds on the 'master' branch.
|
|
# Builds on other branches will only read existing entries from the cache.
|
|
cache-read-only: ${{ github.ref != 'refs/heads/master' }}
|
|
|
|
# Limit the size of the cache entry.
|
|
# These directories contain instrumented/transformed dependency jars which can be reconstructed relatively quickly.
|
|
gradle-home-cache-excludes: |
|
|
caches/jars-9
|
|
caches/transforms-3
|