diff --git a/.github/workflows/build-cibw.yml b/.github/workflows/build-cibw.yml index c6b6d609d..b42e60731 100644 --- a/.github/workflows/build-cibw.yml +++ b/.github/workflows/build-cibw.yml @@ -51,3 +51,22 @@ jobs: with: name: cibw-wheels-cp${{ matrix.cibw_python_version }}-${{ matrix.platform_id }} path: wheelhouse/*.whl + + upload_all: + name: Upload All + needs: build_wheels + runs-on: ubuntu-latest + permissions: + id-token: write + steps: + - name: Download Artifacts + uses: actions/download-artifact@v4 + with: + path: dist/ + merge-multiple: true + + - name: Publish to TestPyPI + uses: pypa/gh-action-pypi-publish@release/v1 + with: + packages-dir: dist/ + repository-url: https://test.pypi.org/legacy/ diff --git a/build_tools/wheels/cibw_before_all.sh b/build_tools/wheels/cibw_before_all.sh index 789d65c5a..5b0e71940 100644 --- a/build_tools/wheels/cibw_before_all.sh +++ b/build_tools/wheels/cibw_before_all.sh @@ -40,4 +40,4 @@ cmake $PROJECT_DIR \ -DCMAKE_INSTALL_PREFIX=$PROJECT_DIR/gtsam_install cd $PROJECT_DIR/build/python -make -j$(nproc) install +make -j $(nproc) install