Skip to content

Commit

Permalink
Set Mac target arch to x86_64
Browse files Browse the repository at this point in the history
  • Loading branch information
BogdanW3 committed Nov 21, 2024
1 parent 8323f8d commit 9d98d36
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,19 @@ jobs:
echo "BONJOUR_SDK_HOME=${{ github.workspace }}\deps\bonjour-sdk-windows" >> $env:GITHUB_ENV
- name: Build flo-worker
uses: actions-rs/cargo@v1
if: ${{ runner.os == 'Windows' || runner.os == 'macOS' }}
if: ${{ runner.os == 'Windows' }}
with:
command: build
args: --release -p flo-worker

# Build the x86_64 binary for MacOS until a good way to build fat libs is created
- name: Build flo-worker
uses: actions-rs/cargo@v1
if: ${{ runner.os == 'macOS' }}
with:
command: build
args: --release -p flo-worker --target x86_64-apple-darwin

- name: Archive
if: ${{ runner.os == 'Linux' || runner.os == 'macOS' }}
uses: thedoctor0/zip-release@master
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion binaries/flo-worker/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "flo-worker"
version = "0.17.0"
version = "0.18.0"
authors = ["Flux Xu <[email protected]>"]
edition = "2018"

Expand Down

0 comments on commit 9d98d36

Please sign in to comment.