Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GitHub workflow for building Skia on Android and macOS #1

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Next Next commit
Add GitHub workflow for building Skia on Android and macOS
yorkie committed Jun 4, 2024
commit d78bdfeb6c6da5153284786654fdd0f35b637cf9
28 changes: 28 additions & 0 deletions .github/workflows/build_skia.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build Skia for Android and macOS

on:
push:
branches:
- main
pull_request:

jobs:
build-android:
name: Build Skia for Android
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Bazel
uses: bazelbuild/setup-bazelisk@v1
- name: Build Skia for Android
run: bazel build //:skia_public --config=android_arm64 --toolchain=//:ndk_linux_arm64_toolchain_config

build-macos:
name: Build Skia for macOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Set up Bazel
uses: bazelbuild/setup-bazelisk@v1
- name: Build Skia for macOS
run: bazel build //:skia_public --config=macos_x86_64 --toolchain=//:mac_toolchain_config