@@ -109,42 +109,14 @@ jobs:
109109 include :
110110 - platform : linux
111111 os : ubuntu-latest
112- cc : gcc
113- cxx : g++
114- cibw_build : " cp*-manylinux_x86_64 cp*-manylinux_aarch64"
115- archs : " x86_64 aarch64"
116112 - platform : macos
117113 os : macos-latest
118- cc : clang
119- cxx : clang++
120- cibw_build : cp*-macosx_*
121- archs : " x86_64 arm64"
122114 - platform : windows
123115 os : windows-latest
124- cc :
125- cxx :
126- cibw_build : cp*-win_amd64
127- archs : AMD64
128116
129117 runs-on : ${{ matrix.os }}
130118 needs : [build-cpp-test-linux, build-cpp-test-windows, build-cpp-test-macos]
131119
132- env :
133- CC : ${{ matrix.cc }}
134- CXX : ${{ matrix.cxx }}
135- CIBW_BUILD_VERBOSITY : 1
136- CIBW_BUILD_FRONTEND : " build"
137- CIBW_BUILD : ${{ matrix.cibw_build }}
138- CIBW_ARCHS : ${{ matrix.archs }}
139- CIBW_TEST_EXTRAS : " dev"
140- CIBW_TEST_COMMAND : pytest {package}/tests
141- # Skip trying to test arm64 builds on Intel Macs
142- CIBW_TEST_SKIP : " *-macosx_arm64 *-macosx_universal2:arm64"
143- CIBW_ENVIRONMENT_PASS_LINUX : GITHUB_SHA GITHUB_REF GITHUB_RUN_NUMBER CC CXX
144- MACOSX_DEPLOYMENT_TARGET : 10.15
145- CIBW_MANYLINUX_X86_64_IMAGE : manylinux2014
146- CIBW_MANYLINUX_AARCH64_IMAGE : manylinux2014
147-
148120 steps :
149121 - uses : actions/checkout@v3
150122
@@ -154,6 +126,10 @@ jobs:
154126
155127 - name : Build wheels
156128129+ # GitHub Actions specific build parameters
130+ env :
131+ # pass GitHub runner info into Linux container
132+ CIBW_ENVIRONMENT_PASS_LINUX : GITHUB_SHA GITHUB_REF GITHUB_RUN_NUMBER
157133
158134 - name : Keep wheel files
159135 uses : actions/upload-artifact@v3
0 commit comments