|
16 | 16 | runs-on: ${{ matrix.os }} |
17 | 17 | strategy: |
18 | 18 | matrix: |
19 | | - os: [ubuntu-latest] #[ubuntu-latest, windows-latest, macos-13, macos-14] |
| 19 | + os: [ubuntu-latest, windows-latest, macos-13, macos-14] |
20 | 20 |
|
21 | 21 | steps: |
22 | 22 | - name: Checkout code |
|
46 | 46 | uses: pypa/cibuildwheel@v2.22.0 |
47 | 47 | env: |
48 | 48 | # All cibuildwheel options are here (nothing "hidden" in pyproject.toml) |
49 | | - CIBW_SKIP: "*-win32 *i686 pp3 *-manylinux_*" |
| 49 | + CIBW_SKIP: "*-win32 *i686 pp3" |
50 | 50 | CIBW_BUILD_FRONTEND: build |
51 | 51 | CIBW_BUILD_VERBOSITY: 1 |
52 | 52 | CIBW_TEST_REQUIRES: pytest |
@@ -105,23 +105,23 @@ jobs: |
105 | 105 |
|
106 | 106 | # - uses: pypa/gh-action-pypi-publish@release/v1 |
107 | 107 |
|
108 | | - # upload_test_pypi: |
109 | | - # name: Publish to TestPyPI |
110 | | - # needs: [build_wheels, build_sdist] |
111 | | - # runs-on: ubuntu-latest |
112 | | - # environment: |
113 | | - # name: testpypi |
114 | | - # url: https://test.pypi.org/p/odrpack |
115 | | - # permissions: |
116 | | - # id-token: write |
117 | | - # if: ${{ github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, 'publish-testpypi') }} |
118 | | - # steps: |
119 | | - # - uses: actions/download-artifact@v4 |
120 | | - # with: |
121 | | - # pattern: cibw-* |
122 | | - # path: dist |
123 | | - # merge-multiple: true |
| 108 | + upload_test_pypi: |
| 109 | + name: Publish to TestPyPI |
| 110 | + needs: [build_wheels, build_sdist] |
| 111 | + runs-on: ubuntu-latest |
| 112 | + environment: |
| 113 | + name: testpypi |
| 114 | + url: https://test.pypi.org/p/odrpack |
| 115 | + permissions: |
| 116 | + id-token: write |
| 117 | + if: ${{ github.event_name == 'workflow_dispatch' }} |
| 118 | + steps: |
| 119 | + - uses: actions/download-artifact@v4 |
| 120 | + with: |
| 121 | + pattern: cibw-* |
| 122 | + path: dist |
| 123 | + merge-multiple: true |
124 | 124 |
|
125 | | - # - uses: pypa/gh-action-pypi-publish@release/v1 |
126 | | - # with: |
127 | | - # repository-url: https://test.pypi.org/legacy/ |
| 125 | + - uses: pypa/gh-action-pypi-publish@release/v1 |
| 126 | + with: |
| 127 | + repository-url: https://test.pypi.org/legacy/ |
0 commit comments