Skip to content

Build SKIA

Build SKIA #28

Workflow file for this run

name: Build SKIA
on: workflow_dispatch
jobs:
build:
runs-on: macos-latest
env:
WORKING_DIRECTORY: ./
steps:
- name: checkout
uses: actions/checkout@v2
with:
submodules: recursive
- name: Setup Android NDK
id: setup-ndk
uses: nttld/setup-ndk@v1
with:
ndk-version: r22b
- name: Setup Ninja
uses: seanmiddleditch/gha-setup-ninja@master
- name: Setup Nodejs and npm
uses: actions/setup-node@v2
with:
node-version: "16"
- name: Setup yarn
run: npm install -g yarn
- name: Setup Nodejs with yarn caching
uses: actions/setup-node@v2
with:
node-version: "16"
cache: yarn
- name: Install root node dependencies
run: yarn
- name: Build Skia
working-directory: ${{ env.WORKING_DIRECTORY }}/
env:
ANDROID_NDK: ${{ steps.setup-ndk.outputs.ndk-path }}
run: yarn build-skia