Skip to content

ci: fix some builds #342

ci: fix some builds

ci: fix some builds #342

Workflow file for this run

name: ci
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build_test:
name: Build & Test
if: "! contains(github.event.head_commit.message, '[skip ci]')"
runs-on: macos-12
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install Dependencies
run: yarn install --frozen-lockfile
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Python version
run: python --version
- name: Lint
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Set up Android NDK
uses: nttld/setup-ndk@afb4c9964b521afb97c864b7d40b11e6911bd410 # [email protected]
id: setup-ndk
with:
ndk-version: r27c
- name: Build
run: yarn build
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
- name: Test
run: yarn test:macos