Skip to content

Commit

Permalink
Add osx cross-compilier in build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
syjn99 committed Aug 29, 2024
1 parent f8349c5 commit 8197088
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/_build-bazel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Install osx cross-compiler
if: ${{ inputs.build-type == 'osx_amd64' || inputs.build-type == 'osx_arm64' }}
run: |
sudo apt-get update
sudo apt-get install -y osxcross
- uses: bazel-contrib/setup-bazel@0.8.5
with:
bazelisk-cache: true
Expand Down

0 comments on commit 8197088

Please sign in to comment.