diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 39b986d..65448a5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -325,7 +325,8 @@ jobs: CIBW_ARCHS_LINUX: auto aarch64 # not used I believe CIBW_ARCHS_MACOS: x86_64 arm64 CIBW_ENVIRONMENT: __O3_OPTIM=1 - CIBW_BEFORE_BUILD: make clean && make # and not CIBW_BEFORE_ALL ! + CIBW_BEFORE_ALL: python -m pip install --upgrade setuptools wheel pybind11 + CIBW_BEFORE_BUILD: CC=clang CXX=clang++ make clean && CC=clang CXX=clang++ make # and not CIBW_BEFORE_ALL ! CIBW_TEST_REQUIRES: grid2op pandapower CIBW_TEST_SKIP: "*-macosx_arm64" # to silence warning "While arm64 wheels can be built on x86_64, they cannot be tested." CIBW_TEST_COMMAND: >