Skip to content

fix: install ninja on macos correctly #7

fix: install ninja on macos correctly

fix: install ninja on macos correctly #7

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v2
- name: Setup Deno
uses: denoland/setup-deno@main
with:
deno-version: "v2.x"
- name: Check Formatting
run: deno fmt --check
- name: Lint
run: deno lint
test:
runs-on: macos-latest
steps:
- name: Setup repo
uses: actions/checkout@v2
with:
submodules: true
- name: Setup Deno
uses: denoland/setup-deno@main
with:
deno-version: "v2.x"
- name: Install Ninja
run: brew install ninja
- name: Build Yoga
run: deno task build-yoga
- name: Build
run: deno task build
- name: Test
run: deno task test