Skip to content

Commit 2d32258

Browse files
committed
cicd/lib-build-and-push: move CIBW_ENVIRONMENT_WINDOWS to the github env definition
1 parent 863473e commit 2d32258

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/lib-build-and-push.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ env:
4646
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: manylinux_2_28
4747
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_28
4848
CIBW_MANYLINUX_PYPY_AARCH64_IMAGE: manylinux_2_28
49+
CIBW_ENVIRONMENT_WINDOWS: "CC=clang CXX=clang++"
4950

5051
jobs:
5152
prepare-matrix:
@@ -194,11 +195,6 @@ jobs:
194195
run: |
195196
echo "CIBW_TEST_COMMAND_LINUX=" >> $GITHUB_ENV
196197
197-
- name: Overwrite for Windows 64
198-
if: runner.os == 'Windows' && matrix.platform == 'win64'
199-
run: |
200-
echo "CIBW_ENVIRONMENT_WINDOWS= CC=clang CXX=clang++" | Out-File -FilePath $Env:GITHUB_ENV -Encoding utf-8 -Append
201-
202198
- name: Overwrite for Windows PyPY
203199
if: runner.os == 'Windows' && matrix.platform == 'PyPy'
204200
run: |

0 commit comments

Comments
 (0)