From 3df0873a5707faa9e21105a93cf1ada9306549d1 Mon Sep 17 00:00:00 2001 From: Xavier Dupre Date: Fri, 21 Jul 2023 10:53:59 +0200 Subject: [PATCH 1/4] Improves actions --- .../{check_urls.yml => check-urls.yml} | 0 .github/workflows/documentation.yml | 1 - .github/workflows/rstcheck.yml | 1 - .github/workflows/wheels-any.yml | 34 ++++++++++++++++ .github/workflows/wheels-linux.yml | 40 ------------------- .github/workflows/wheels-mac.yml | 39 ------------------ .github/workflows/wheels-windows.yml | 39 ------------------ 7 files changed, 34 insertions(+), 120 deletions(-) rename .github/workflows/{check_urls.yml => check-urls.yml} (100%) create mode 100644 .github/workflows/wheels-any.yml delete mode 100644 .github/workflows/wheels-linux.yml delete mode 100644 .github/workflows/wheels-mac.yml delete mode 100644 .github/workflows/wheels-windows.yml diff --git a/.github/workflows/check_urls.yml b/.github/workflows/check-urls.yml similarity index 100% rename from .github/workflows/check_urls.yml rename to .github/workflows/check-urls.yml diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 05b6a19..ba80296 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -19,7 +19,6 @@ jobs: steps: - uses: actions/checkout@v3 - # Used to host cibuildwheel - uses: actions/setup-python@v4 with: python-version: '3.11' diff --git a/.github/workflows/rstcheck.yml b/.github/workflows/rstcheck.yml index 3d4b2cc..8ca8f47 100644 --- a/.github/workflows/rstcheck.yml +++ b/.github/workflows/rstcheck.yml @@ -13,7 +13,6 @@ jobs: steps: - uses: actions/checkout@v3 - # Used to host cibuildwheel - uses: actions/setup-python@v4 with: python-version: '3.11' diff --git a/.github/workflows/wheels-any.yml b/.github/workflows/wheels-any.yml new file mode 100644 index 0000000..55a7461 --- /dev/null +++ b/.github/workflows/wheels-any.yml @@ -0,0 +1,34 @@ +name: Build Any Wheel + +#on: +# push: +# branches: +# - main +# - 'releases/**' + +on: [push] + +jobs: + build_wheels: + name: Build wheels on ${{ matrix.os }} + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest] + + steps: + - uses: actions/checkout@v3 + + - uses: actions/setup-python@v4 + with: + python-version: '3.11' + + - name: Install requirements + run: python -m pip install -r requirements.txt + + - name: python version + run: python -m pip wheel . + + - uses: actions/upload-artifact@v3 + with: + path: ./dist/*.whl diff --git a/.github/workflows/wheels-linux.yml b/.github/workflows/wheels-linux.yml deleted file mode 100644 index 6557751..0000000 --- a/.github/workflows/wheels-linux.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: Build Wheel Linux - -on: - push: - branches: - - main - - 'releases/**' - -jobs: - build_wheels: - name: Build wheels on ${{ matrix.os }} - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest] - - steps: - - uses: actions/checkout@v3 - - # Used to host cibuildwheel - - uses: actions/setup-python@v4 - with: - python-version: '3.11' - - - name: Install cibuildwheel - run: python -m pip install cibuildwheel - - - name: python version - run: python -V - - - name: Build wheels - run: python -m cibuildwheel --output-dir wheelhouse - # to supply options, put them in 'env', like: - #env: - # # CIBW_BUILD: "cp310* cp311*" - # CIBW_SKIP: cp36-* cp37-* cp38-* cp39-* - - - uses: actions/upload-artifact@v3 - with: - path: ./wheelhouse/*.whl diff --git a/.github/workflows/wheels-mac.yml b/.github/workflows/wheels-mac.yml deleted file mode 100644 index c9ac273..0000000 --- a/.github/workflows/wheels-mac.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Build Wheel MacOS - -on: - push: - branches: - - main - - 'releases/**' - -jobs: - build_wheels: - name: Build wheels on ${{ matrix.os }} - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [macOS-latest] - - steps: - - uses: actions/checkout@v3 - - # Used to host cibuildwheel - - uses: actions/setup-python@v4 - with: - python-version: '3.11' - - - name: Install cibuildwheel - run: python -m pip install cibuildwheel - - - name: python version - run: python -V - - - name: Build wheels - run: python -m cibuildwheel --output-dir wheelhouse - # to supply options, put them in 'env', like: - #env: - # CIBW_BUILD: cp311* - - - uses: actions/upload-artifact@v3 - with: - path: ./wheelhouse/*.whl diff --git a/.github/workflows/wheels-windows.yml b/.github/workflows/wheels-windows.yml deleted file mode 100644 index cf7e4bd..0000000 --- a/.github/workflows/wheels-windows.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Build Wheel Windows - -on: - push: - branches: - - main - - 'releases/**' - -jobs: - build_wheels: - name: Build wheels on ${{ matrix.os }} - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [windows-latest] - - steps: - - uses: actions/checkout@v3 - - # Used to host cibuildwheel - - uses: actions/setup-python@v4 - with: - python-version: '3.11' - - - name: Install cibuildwheel - run: python -m pip install cibuildwheel - - - name: python version - run: python -V - - - name: Build wheels - run: python -m cibuildwheel - # to supply options, put them in 'env', like: - # env: - # CIBW_BUILD: cp310-win_amd64* cp311-win_amd64* - - - uses: actions/upload-artifact@v3 - with: - path: ./wheelhouse/*.whl From 93a050d9db9a4f552020d6d9efbe021d6fd1c84d Mon Sep 17 00:00:00 2001 From: Xavier Dupre Date: Fri, 21 Jul 2023 10:58:31 +0200 Subject: [PATCH 2/4] gitignore --- .github/workflows/wheels-any.yml | 5 +---- .gitignore | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/wheels-any.yml b/.github/workflows/wheels-any.yml index 55a7461..ff4010e 100644 --- a/.github/workflows/wheels-any.yml +++ b/.github/workflows/wheels-any.yml @@ -23,12 +23,9 @@ jobs: with: python-version: '3.11' - - name: Install requirements - run: python -m pip install -r requirements.txt - - name: python version run: python -m pip wheel . - uses: actions/upload-artifact@v3 with: - path: ./dist/*.whl + path: ./onnx_array_api*.whl diff --git a/.gitignore b/.gitignore index c51b919..197e8b4 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ *.pyd *.dylib *.so +*.whl coverage.html/* _cache/* .coverage From 7f9726649f67fc7cecef8d8de82612d22e3c5d86 Mon Sep 17 00:00:00 2001 From: Xavier Dupre Date: Fri, 21 Jul 2023 11:00:20 +0200 Subject: [PATCH 3/4] name --- .github/workflows/wheels-any.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wheels-any.yml b/.github/workflows/wheels-any.yml index ff4010e..fbdffbe 100644 --- a/.github/workflows/wheels-any.yml +++ b/.github/workflows/wheels-any.yml @@ -23,7 +23,7 @@ jobs: with: python-version: '3.11' - - name: python version + - name: build wheel run: python -m pip wheel . - uses: actions/upload-artifact@v3 From fe3a3a56d8a9d1658103e2bedf7b77825351d42a Mon Sep 17 00:00:00 2001 From: Xavier Dupre Date: Fri, 21 Jul 2023 11:02:45 +0200 Subject: [PATCH 4/4] push --- .github/workflows/wheels-any.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/wheels-any.yml b/.github/workflows/wheels-any.yml index fbdffbe..c20a15d 100644 --- a/.github/workflows/wheels-any.yml +++ b/.github/workflows/wheels-any.yml @@ -1,12 +1,10 @@ name: Build Any Wheel -#on: -# push: -# branches: -# - main -# - 'releases/**' - -on: [push] +on: + push: + branches: + - main + - 'releases/**' jobs: build_wheels: pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy