Skip to content

Commit 99eb11f

Browse files
committed
Trying to fix macos and windows-gnu error
llvm-binutils and binutils-2.39 cannot handle vex versions
1 parent 8a066be commit 99eb11f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/main.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,15 @@ jobs:
186186
echo "SDKROOT=$(xcrun -sdk macosx11.0 --show-sdk-path)" >> $GITHUB_ENV
187187
echo "MACOS_DEPLOYMENT_TARGET=$(xcrun -sdk macosx11.0 --show-sdk-platform-version)" >> $GITHUB_ENV
188188
if: matrix.target == 'aarch64-apple-darwin'
189+
- name: Setup (x86_64-apple-darwin)
190+
run: |
191+
brew install binutils
192+
export PATH="/usr/local/opt/binutils/bin:$PATH"
193+
if: matrix.target == 'x86_64-apple-darwin'
194+
- name: Setup (windows-gnu)
195+
run: |
196+
C:/msys64/usr/bin/pacman -S binutils
197+
if: endsWith(matrix.target, 'windows-gnu')
189198
- run: cargo generate-lockfile
190199

191200
# Configure some env vars based on matrix configuration

0 commit comments

Comments
 (0)