summaryrefslogtreecommitdiff
path: root/.github/workflows/build_wheel.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/build_wheel.yml')
-rw-r--r--.github/workflows/build_wheel.yml51
1 files changed, 0 insertions, 51 deletions
diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml
deleted file mode 100644
index 1a8b4868..00000000
--- a/.github/workflows/build_wheel.yml
+++ /dev/null
@@ -1,51 +0,0 @@
-name: Linux, macOS, Windows
-
-on: [push, pull_request]
-
-jobs:
- wheel:
- name: ${{ matrix.os }}
- runs-on: ${{ matrix.os }}
- timeout-minutes: 30
- strategy:
- fail-fast: false # whether to exit the whole run on first failure
- matrix:
- os: [ubuntu-latest, macos-latest, windows-latest]
- include:
- - {name: Linux, python: '3.9', os: ubuntu-latest}
- env:
- CIBW_TEST_COMMAND: python -u -Wa {project}/psutil/tests/runner.py
- CIBW_TEST_COMMAND_MACOS: LC_ALL='en_US.utf8' python -Wa {project}/psutil/tests/runner.py
- CIBW_TEST_EXTRAS: test
- # https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip
- CIBW_SKIP: cp35-* pp*
- steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-python@v2
- with:
- python-version: 3.9
-
- - name: (Windows) install Visual C++ for Python 2.7
- if: matrix.os == 'windows-latest'
- run: |
- choco install vcpython27 -f -y
-
- - name: Run tests
- run: |
- pip install cibuildwheel
- cibuildwheel .
-
- - name: Create wheels
- uses: actions/upload-artifact@v2
- with:
- name: wheels
- path: wheelhouse
-
- - name: Print hashes
- if: matrix.os == 'ubuntu-latest'
- run: |
- make generate-manifest
- python setup.py sdist
- mv dist/psutil*.tar.gz wheelhouse/
- python scripts/internal/print_hashes.py wheelhouse/
-