Skip to content

Commit

Permalink
Support Python and non-Python builds for binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
mwylde committed Sep 24, 2024
1 parent 5e0a513 commit d20bd38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
- name: Create output directory
run: mkdir artifacts
- name: Build Arroyo with Python
run: PYO3_PYTHON=/opt/homebrew/opt/python@3.12/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 python@3.12)/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
Expand Down

0 comments on commit d20bd38

Please sign in to comment.