Skip to content

Commit

Permalink
Try to fix Python wheels.
Browse files Browse the repository at this point in the history
  • Loading branch information
jdumas committed Sep 24, 2024
1 parent e45559f commit 3fd07e8
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 18 deletions.
39 changes: 21 additions & 18 deletions .github/workflows/wheel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
tags:
- '*'
pull_request:
branches:
- main

jobs:
build_wheel:
Expand Down Expand Up @@ -37,25 +40,25 @@ jobs:
MACOSX_DEPLOYMENT_TARGET: 11.00
CIBW_BUILD_VERBOSITY: 2

- uses: actions/upload-artifact@v4
with:
name: wheels-${{matrix.os}}
path: ./wheelhouse/*.whl
# - uses: actions/upload-artifact@v4
# with:
# name: wheels-${{matrix.os}}
# path: ./wheelhouse/*.whl


upload_pypi:
name: Upload wheels to PyPI
runs-on: ubuntu-latest
needs: [build_wheel]
# upload_pypi:
# name: Upload wheels to PyPI
# runs-on: ubuntu-latest
# needs: [build_wheel]

steps:
- uses: actions/download-artifact@v4
with:
pattern: wheels-*
merge-multiple: true
path: dist
# steps:
# - uses: actions/download-artifact@v4
# with:
# pattern: wheels-*
# merge-multiple: true
# path: dist

- name: Deploy wheel
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
# - name: Deploy wheel
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# password: ${{ secrets.PYPI_API_TOKEN }}
1 change: 1 addition & 0 deletions modules/core/include/lagrange/utils/warnoff.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
#pragma GCC diagnostic ignored "-Wunused-result"
#pragma GCC diagnostic ignored "-Wunused-variable"
#pragma GCC diagnostic ignored "-Wunused-function"
#pragma GCC diagnostic ignored "-Wstringop-overflow="
#elif defined(_MSC_VER)
#pragma warning(push)
#pragma warning(disable : 26439) // This kind of function may not throw. Declare it 'noexcept'
Expand Down

0 comments on commit 3fd07e8

Please sign in to comment.