.github/workflows/buildwheels.yml
changeset 112 79b0997a73b8
parent 111 45fa7a83c62b
child 114 bf2e9a81f2a9
equal deleted inserted replaced
111:45fa7a83c62b 112:79b0997a73b8
    48       - uses: actions/checkout@v2
    48       - uses: actions/checkout@v2
    49 
    49 
    50       # Used to host cibuildwheel
    50       # Used to host cibuildwheel
    51       - uses: actions/setup-python@v2
    51       - uses: actions/setup-python@v2
    52 
    52 
       
    53       - name: Set up QEMU
       
    54         if: runner.os == 'Linux'
       
    55         uses: docker/setup-qemu-action@v1
       
    56         with:
       
    57           platforms: all
       
    58 
    53       - name: Install cibuildwheel
    59       - name: Install cibuildwheel
    54         run: |
    60         run: |
    55           python -m pip install 'cibuildwheel==2.2.0a1'
    61           python -m pip install 'cibuildwheel==2.2.0a1'
    56           python -c "import os;print('+++++ cwd=%r;dir=%r' % (os.getcwd(),os.listdir('.')))"
    62           python -c "import os;print('+++++ cwd=%r;dir=%r' % (os.getcwd(),os.listdir('.')))"
    57 
    63 
    58       - name: Build wheels
    64       - name: Build wheels
    59         run: python -m cibuildwheel --output-dir wheelhouse
    65         run: python -m cibuildwheel --output-dir wheelhouse
    60         env:
    66         env:
    61           #CIBW_ARCHS_LINUX: auto aarch64 #seems to hang
    67           CIBW_ARCHS_LINUX: auto aarch64 #needs quemu setup
    62           CIBW_ARCHS_MACOS: x86_64 arm64 universal2
    68           CIBW_ARCHS_MACOS: x86_64 arm64 universal2
    63 
    69 
    64       - name: upload wheels
    70       - name: upload wheels
    65         env:
    71         env:
    66           CITOOLS_USER: "${{secrets.CITOOLS_USER}}"
    72           CITOOLS_USER: "${{secrets.CITOOLS_USER}}"