Skip to content

Commit

Permalink
trying to add back compilation with some 'exotic' architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
BDonnot committed Apr 12, 2024
1 parent 384c0b8 commit ab8dd22
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ jobs:
runner:
name: macos-14
env:
RUNNER_OS: macos-latest
RUNNER_OS: ${{ matrix.runner.name }}
PYTHON_VERSION: ${{ matrix.python.version }}

steps:
Expand All @@ -461,11 +461,15 @@ jobs:
with:
submodules: true

- name: Set Additional Envs
run: |
echo "PYTHON_SUBVERSION=$(echo $PYTHON_VERSION | cut -c 3-)" >> $GITHUB_ENV
- name: Compile with cibuildwheel
uses: pypa/cibuildwheel@v2.16.2
uses: pypa/cibuildwheel@v2.17.0
env:
CIBW_PLATFORM: "${{ matrix.runner.cibuildwheel}}"
CIBW_BUILD: "${{ matrix.python.name }}-*" # see https://github.com/cvxpy/cvxpy/blob/master/.github/workflows/build.yml
CIBW_BUILD: "cp3${{env.PYTHON_SUBVERSION}}-*" # see https://github.com/cvxpy/cvxpy/blob/master/.github/workflows/build.yml
CIBW_ARCHS_LINUX: aarch64 i686 # arm64 and 32 bits
CIBW_ARCHS_MACOS: arm64
CIBW_ARCHS_WINDOWS: x86 # 32 bits
Expand Down

0 comments on commit ab8dd22

Please sign in to comment.