Commit 002b5e7 1 parent d870802 commit 002b5e7 Copy full SHA for 002b5e7
File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -93,11 +93,15 @@ jobs:
93
93
94
94
build_macosx_wheels :
95
95
needs : [build_sdist]
96
- name : macosx_${{ matrix.os }} wheels
96
+ name : macosx_${{ matrix.arch }} wheels
97
97
runs-on : ${{ matrix.os }}
98
98
strategy :
99
99
matrix :
100
- os : [macos-11, macos-14]
100
+ include :
101
+ - os : macos-11
102
+ arch : x86_64
103
+ - os : macos-14
104
+ arch : arm64
101
105
steps :
102
106
- uses : actions/download-artifact@v4
103
107
with :
@@ -111,7 +115,7 @@ jobs:
111
115
run : |
112
116
tar zxvf dist/*.tar.gz --strip-components=1
113
117
- name : Sets env vars for compilation
114
- if : matrix.os == 'macos-14 '
118
+ if : matrix.arch == 'arm64 '
115
119
run : |
116
120
echo "CFLAGS=-target aarch64-apple-darwin" >> $GITHUB_ENV
117
121
echo "MEMRAY_LIBBACKTRACE_TARGET=aarch64-apple-darwin" >> $GITHUB_ENV
@@ -130,7 +134,7 @@ jobs:
130
134
DYLD_LIBRARY_PATH : " ${{env.LZ4_INSTALL_DIR}}/lib"
131
135
- uses : actions/upload-artifact@v4
132
136
with :
133
- name : macosx_${{ matrix.os }}-wheels
137
+ name : macosx_${{ matrix.arch }}-wheels
134
138
path : ./wheelhouse/*.whl
135
139
136
140
build_and_test_wheels :
You can’t perform that action at this time.
0 commit comments