File tree 2 files changed +12
-0
lines changed
2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 51
51
if : matrix.env.TARGET_TRIPLE == 'x86_64-pc-windows-gnu'
52
52
run : rustup set default-host x86_64-pc-windows-gnu
53
53
54
+ - name : Use x86_64 compiler on macOS
55
+ if : matrix.os == 'macos-latest' && matrix.env.TARGET_TRIPLE == 'x86_64-apple-darwin'
56
+ run : rustup set default-host x86_64-apple-darwin
57
+
54
58
- name : Select XCode version
55
59
if : matrix.os == 'macos-latest'
56
60
run : sudo xcode-select -s /Applications/Xcode_14.3.1.app
Original file line number Diff line number Diff line change 98
98
if : matrix.os == 'windows-latest' && matrix.env.TARGET_TRIPLE == 'x86_64-pc-windows-gnu'
99
99
run : rustup set default-host x86_64-pc-windows-gnu
100
100
101
+ - name : Use x86_64 compiler on macOS
102
+ if : matrix.os == 'macos-latest' && matrix.env.TARGET_TRIPLE == 'x86_64-apple-darwin'
103
+ run : rustup set default-host x86_64-apple-darwin
104
+
101
105
- name : Install toolchain and emulator
102
106
if : matrix.apt_deps != null
103
107
run : |
@@ -234,6 +238,10 @@ jobs:
234
238
if : matrix.os == 'windows-latest' && matrix.env.TARGET_TRIPLE == 'x86_64-pc-windows-gnu'
235
239
run : rustup set default-host x86_64-pc-windows-gnu
236
240
241
+ - name : Use x86_64 compiler on macOS
242
+ if : matrix.os == 'macos-latest' && matrix.env.TARGET_TRIPLE == 'x86_64-apple-darwin'
243
+ run : rustup set default-host x86_64-apple-darwin
244
+
237
245
- name : Install MinGW toolchain
238
246
if : matrix.os == 'ubuntu-latest' && matrix.env.TARGET_TRIPLE == 'x86_64-pc-windows-gnu'
239
247
run : |
You can’t perform that action at this time.
0 commit comments