Skip to content

Commit

Permalink
ci: skip libs build on setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 committed Jan 25, 2025
1 parent 06a0d88 commit a42b9ff
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ runs:
yarn install --frozen-lockfile
shell: bash

- name: Bootstrap & Prepack
run: yarn bootstrap && yarn prepack
- name: Bootstrap & Build
run: yarn bootstrap && yarn build
shell: bash
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ jobs:
NO_FLIPPER: 1
RNLLAMA_BUILD_FROM_SOURCE: 0

- name: Build frameworks
run: |
yarn build:ios-frameworks
- name: Build example for iOS
run: |
yarn build:ios
Expand All @@ -126,6 +130,10 @@ jobs:
- name: Setup
uses: ./.github/actions/setup

- name: Build libraries
run: |
yarn build:android-libs
- name: Build example for Android
run: |
sed -i 's/rnllamaBuildFromSource=true/rnllamaBuildFromSource=false/g' example/android/gradle.properties
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"test": "jest",
"typecheck": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"build": "bob build",
"prepack": "./scripts/build-ios.sh && ./scripts/build-android.sh && bob build",
"release": "release-it",
"example": "yarn --cwd example",
Expand Down

0 comments on commit a42b9ff

Please sign in to comment.