Skip to content

Commit

Permalink
Build for both arm and amd MACs
Browse files Browse the repository at this point in the history
  • Loading branch information
anthony2261 committed Apr 30, 2024
1 parent 6416fc3 commit 2033be8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/bundling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,10 @@ jobs:
overwrite: true

bundle-macos:
runs-on: macos-latest
strategy:
matrix:
os: [macos-latest, macos-latest-large]
runs-on: ${{ matrix.os }}
needs: build-frontend
defaults:
run:
Expand Down Expand Up @@ -158,7 +161,7 @@ jobs:
--collect-data llama_index --distpath ../macos_dist --hidden-import=tiktoken_ext.openai_public --hidden-import=tiktoken_ext --collect-data=jinja2 main.py -y
- uses: actions/upload-artifact@v4
with:
name: macos-artifact
name: ${{ matrix.os }}-artifact
# default workdir is only for runs, here we are using "uses" so it does not apply
path: macos_dist/
overwrite: true

0 comments on commit 2033be8

Please sign in to comment.