Skip to content

Commit

Permalink
added releases for all python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Tigul committed Sep 5, 2024
1 parent a53c8c3 commit b098bae
Showing 1 changed file with 12 additions and 22 deletions.
34 changes: 12 additions & 22 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,22 @@ jobs:
# run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}

- name: Install Buildtools
run: python3.8 -m pip install setuptools build numpy
run: |
python3.8 -m pip install setuptools build numpy
python3.9 -m pip install setuptools build numpy
python3.10 -m pip install setuptools build numpy
python3.11 -m pip install setuptools build numpy
python3.12 -m pip install setuptools build numpy
- name: Build
# Build your program with the given configuration
# run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
run: python3.8 -m build --wheel -n

# - name: Test
# working-directory: ${{github.workspace}}/build
# # Execute tests defined by the CMake configuration.
# # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
# run: ctest -C ${{env.BUILD_TYPE}}
run: |
python3.8 -m build --wheel -n
python3.9 -m build --wheel -n
python3.10 -m build --wheel -n
python3.11 -m build --wheel -n
python3.12 -m build --wheel -n
- name: Repair wheel
run: |
Expand All @@ -59,17 +63,3 @@ jobs:
password: ${{ secrets.PyPi_API_TOKEN }}
skip_existing: false

# pypi-publish:
# name: upload release to PyPI
# runs-on: ubuntu-latest
# needs: build
# # Specifying a GitHub environment is optional, but strongly encouraged
# environment: release
# permissions:
# # IMPORTANT: this permission is mandatory for trusted publishing
# id-token: write
# steps:
# # retrieve your distributions here
#
# - name: Publish package distributions to PyPI
# uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit b098bae

Please sign in to comment.