Skip to content

Commit

Permalink
Create a pyproject.toml on the fly
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmundt committed Nov 15, 2024
1 parent da540c3 commit a5ef359
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release_wheel_creation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build wheels
uses: pypa/cibuildwheel@main
uses: pypa/cibuildwheel@2.21.3
with:
output-dir: dist
env:
Expand All @@ -67,7 +67,7 @@ jobs:
CIBW_BUILD: ${{ matrix.wheel-version }}
CIBW_SKIP: "*-musllinux*"
CIBW_BUILD_VERBOSITY: 3
CIBW_BEFORE_BUILD: python -m pip install cython pybind11 && which python && which pip && pip list
CIBW_BEFORE_BUILD: echo -e '[tool.cibuildwheel]\n\nbefore-build = "pip install cython pybind11"' > /Users/runner/work/pyomo/pyomo/pyproject.toml
CIBW_ENVIRONMENT: PYOMO_SETUP_ARGS="${{ matrix.GLOBAL_OPTIONS }}"
- uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -111,15 +111,15 @@ jobs:
with:
platforms: all
- name: Build wheels
uses: pypa/cibuildwheel@main
uses: pypa/cibuildwheel@2.21.3
with:
output-dir: dist
env:
CIBW_ARCHS_LINUX: "aarch64"
CIBW_BUILD: ${{ matrix.wheel-version }}
CIBW_SKIP: "*-musllinux*"
CIBW_BUILD_VERBOSITY: 3
CIBW_BEFORE_BUILD: python -m pip install cython pybind11 && which python && which pip && pip list
CIBW_BEFORE_BUILD: echo -e '[tool.cibuildwheel]\n\nbefore-build = "pip install cython pybind11"' > /Users/runner/work/pyomo/pyomo/pyproject.toml
CIBW_ENVIRONMENT: PYOMO_SETUP_ARGS="${{ matrix.GLOBAL_OPTIONS }}"
- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit a5ef359

Please sign in to comment.