-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support Python and non-Python builds for binaries (#749)
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,7 +83,7 @@ jobs: | |
matrix: | ||
# see https://docs.github.com/en/actions/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories | ||
config: | ||
- { runner: macos-13, protoc: osx-x86_64, artifact: macos-x86_64 } | ||
- { runner: macos-14-large, protoc: osx-x86_64, artifact: macos-x86_64 } | ||
- { runner: macos-14-xlarge, protoc: osx-aarch_64, artifact: macos-m1 } | ||
runs-on: ${{ matrix.config.runner }} | ||
steps: | ||
|
@@ -113,7 +113,7 @@ jobs: | |
- name: Create output directory | ||
run: mkdir artifacts | ||
- name: Build Arroyo with Python | ||
run: PYO3_PYTHON=/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.12/Python cargo build --features python --release --package arroyo && strip target/release/arroyo && mv target/release/arroyo artifacts/arroyo-python | ||
run: PYO3_PYTHON=$(brew --prefix [email protected])/Frameworks/Python.framework/Versions/3.12/bin/python3 cargo build --features python --release --package arroyo && strip target/release/arroyo && mv target/release/arroyo artifacts/arroyo-python | ||
- name: Build Arroyo without Python | ||
run: cargo build --release --package arroyo && strip target/release/arroyo && mv target/release/arroyo artifacts/arroyo | ||
- uses: actions/upload-artifact@v4 | ||
|