diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b5014d0..fb70e19 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,9 +1,10 @@ name: Build -on: - push: - tags: - - '*' # Will run when any tag is pushed +# on: +# push: +# tags: +# - '*' # Will run when any tag is pushed +on: [push, pull_request] jobs: build_wheels: @@ -11,26 +12,27 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-2022, macos-12,ubuntu-22.04] + os: [windows-2022, macos-12, ubuntu-22.04] + build_wheels: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [windows-2022, macos-12, ubuntu-22.04] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: 'recursive' - - uses: actions/setup-python@v3 - - name: Install cibuildwheel run: python -m pip install cibuildwheel==2.16.2 - - name: Build wheels run: python -m cibuildwheel --output-dir dist env: - CIBW_BUILD: cp38-* cp39-* cp310-* cp311-* cp312-* # build for 3.8 and higher + CIBW_BUILD: cp310-* cp311-* CIBW_ARCHS_WINDOWS: AMD64 CIBW_ARCHS_MACOS: x86_64 arm64 CIBW_ARCHS_LINUX: x86_64 - - uses: actions/upload-artifact@v3 with: name: dist diff --git a/pyproject.toml b/pyproject.toml index 2f31153..3fdfb41 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["poetry-core>=1.6.0"] build-backend = "poetry.core.masonry.api" [tool.poetry] -name = "robohatlib" +name = "revolve2-robohat" version = "v0.4.0" description = "Robohatlib" authors = [