Skip to content

feat: sync llama.cpp #218

feat: sync llama.cpp

feat: sync llama.cpp #218

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
- name: Lint files
run: yarn lint
- name: Typecheck files
run: yarn typecheck
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
- name: Run unit tests
run: yarn test --maxWorkers=2 --coverage
build-ios:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
- name: Cache build & pods
uses: actions/cache@v3
with:
path: |
example/ios/Pods
example/ios/build
key: ${{ runner.os }}-pods-${{ hashFiles('example/ios/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
- name: Upgrade CocoaPods to version 1.15.2
run: |
gem uninstall cocoapods --ignore-dependencies
gem install cocoapods -v 1.15.2
- name: Install cocoapods
run: |
yarn example pods
env:
NO_FLIPPER: 1
- name: Build example for iOS
run: |
yarn build:ios
build-android:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup
uses: ./.github/actions/setup
- name: Build example for Android
run: |
yarn build:android