@@ -633,36 +633,35 @@ jobs:
633633 with :
634634 runner-vm-os : ${{ matrix.runner-vm-os }}
635635 timeout-minutes : 9
636- wheel-tags-to-skip : >-
637- ${{
638- !fromJSON(needs.pre-setup.outputs.release-requested)
639- && '*_i686
640- *-macosx_universal2
641- *-musllinux_*
642- *-win32
643- *_arm64
644- pp*'
645- || ''
646- }}
647636 source-tarball-name : >-
648637 ${{ needs.pre-setup.outputs.sdist-artifact-name }}
649638 dists-artifact-name : >-
650639 ${{ needs.pre-setup.outputs.dists-artifact-name }}
651- # cython-tracing: >- # Cython line tracing for coverage collection
652- # ${{
653- # (
654- # github.event_name == 'push'
655- # && contains(github.ref, 'refs/tags/')
656- # )
657- # && 'false'
658- # || 'true'
659- # }}
660- cython-tracing : >- # Cython line tracing for coverage collection
661- ${{
640+ # CIBW_CONFIG_SETTINGS: `with-cython-tracing` — for coverage collection
641+ # CIBW_ARCHS_MACOS=all x86_64 arm64 universal2
642+ environment-variables : |-
643+ CIBW_ARCHS_MACOS=native
644+
645+ CIBW_CONFIG_SETTINGS<<EOF
646+ with-cython-tracing=${{
662647 fromJSON(needs.pre-setup.outputs.profiling-enabled)
663648 && 'true'
664649 || 'false'
665650 }}
651+ EOF
652+
653+ ${{
654+ !fromJSON(needs.pre-setup.outputs.release-requested)
655+ && 'CIBW_SKIP<<EOF
656+ *_i686
657+ *-macosx_universal2
658+ *-musllinux_*
659+ *-win32
660+ *_arm64
661+ pp*
662+ EOF'
663+ || ''
664+ }}
666665
667666 build-bin-manylinux-tested-arches :
668667 name : >-
@@ -686,21 +685,33 @@ jobs:
686685 with :
687686 runner-vm-os : ubuntu-latest
688687 timeout-minutes : 9
689- wheel-tags-to-skip : >-
690- *_i686
691- *-musllinux_*
692- *-*linux_{aarch64,ppc64le,s390x}
693- pp*
694688 source-tarball-name : >-
695689 ${{ needs.pre-setup.outputs.sdist-artifact-name }}
696690 dists-artifact-name : >-
697691 ${{ needs.pre-setup.outputs.dists-artifact-name }}
698- cython-tracing : >- # Cython line tracing for coverage collection
699- ${{
692+ # CIBW_CONFIG_SETTINGS: `with-cython-tracing` — for coverage collection
693+ # CIBW_ARCHS_MACOS=all x86_64 arm64 universal2
694+ environment-variables : |-
695+ CIBW_ARCHS_MACOS=native
696+
697+ CIBW_CONFIG_SETTINGS<<EOF
698+ with-cython-tracing=${{
700699 fromJSON(needs.pre-setup.outputs.profiling-enabled)
701700 && 'true'
702701 || 'false'
703702 }}
703+ EOF
704+
705+ ${{
706+ !fromJSON(needs.pre-setup.outputs.release-requested)
707+ && 'CIBW_SKIP<<EOF
708+ *_i686
709+ *-musllinux_*
710+ *-*linux_{aarch64,ppc64le,s390x}
711+ pp*
712+ EOF'
713+ || ''
714+ }}
704715
705716 build-bin-manylinux-odd-arches :
706717 name : >-
@@ -724,22 +735,37 @@ jobs:
724735 with :
725736 runner-vm-os : ubuntu-latest
726737 timeout-minutes : 70
727- wheel-tags-to-skip : >-
728- *_i686
729- *-musllinux_*
730- *-*linux_x86_64
731- pp*
732738 source-tarball-name : >-
733739 ${{ needs.pre-setup.outputs.sdist-artifact-name }}
734740 dists-artifact-name : >-
735741 ${{ needs.pre-setup.outputs.dists-artifact-name }}
736- qemu : all
737- cython-tracing : >- # Cython line tracing for coverage collection
738- ${{
742+ qemu : true
743+ # CIBW_ARCHS_LINUX: Build emulated architectures if QEMU, else "auto"
744+ # CIBW_CONFIG_SETTINGS: `with-cython-tracing` — for coverage collection
745+ # CIBW_ARCHS_MACOS=all x86_64 arm64 universal2
746+ environment-variables : |-
747+ CIBW_ARCHS_LINUX=all
748+
749+ CIBW_ARCHS_MACOS=native
750+
751+ CIBW_CONFIG_SETTINGS<<EOF
752+ with-cython-tracing=${{
739753 fromJSON(needs.pre-setup.outputs.profiling-enabled)
740754 && 'true'
741755 || 'false'
742756 }}
757+ EOF
758+
759+ ${{
760+ !fromJSON(needs.pre-setup.outputs.release-requested)
761+ && 'CIBW_SKIP<<EOF
762+ *_i686
763+ *-musllinux_*
764+ *-*linux_x86_64
765+ pp*
766+ EOF'
767+ || ''
768+ }}
743769
744770 build-src :
745771 name : >-
0 commit comments