Skip to content

Commit 6b3e553

Browse files
committed
fix(actions): try to build x86 on arm
1 parent 0a96ab2 commit 6b3e553

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/cli-release.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,16 +177,19 @@ jobs:
177177

178178
build-macos-x86_64-binary:
179179
name: "Build MacOS x86_64 binary"
180-
runs-on: macos-15-intel
180+
runs-on: macos-14
181181
env:
182-
CFLAGS: "-mno-adx"
182+
CARGO_BUILD_TARGET: x86_64-apple-darwin
183183
steps:
184184
- uses: actions/checkout@v4
185185
with:
186186
ref: ${{ github.event.inputs.source_git_ref_override }}
187187

188188
- uses: dsherret/rust-toolchain-file@v1
189189

190+
- name: Install target
191+
run: rustup target add x86_64-apple-darwin
192+
190193
- name: Install build tools
191194
shell: bash
192195
run: scripts/cli/minimal_cli_build.sh

0 commit comments

Comments
 (0)