From d871a15e3c34b909e994291b42fbd174218b5638 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 4 Feb 2021 22:21:14 -0500 Subject: [PATCH] examples: update GitHub examples to be a bit cleaner --- examples/github-deploy.yml | 13 +++++-------- examples/github-minimal.yml | 11 ++++------- examples/github-with-qemu.yml | 9 +++------ 3 files changed, 12 insertions(+), 21 deletions(-) diff --git a/examples/github-deploy.yml b/examples/github-deploy.yml index b83c4bbd..aed86393 100644 --- a/examples/github-deploy.yml +++ b/examples/github-deploy.yml @@ -24,20 +24,17 @@ jobs: - uses: actions/setup-python@v2 name: Install Python with: - python-version: '3.7' + python-version: '3.8' - name: Install cibuildwheel - run: | - python -m pip install cibuildwheel==1.8.0 + run: python -m pip install cibuildwheel==1.8.0 - name: Install Visual C++ for Python 2.7 if: runner.os == 'Windows' - run: | - choco install vcpython27 -f -y + run: choco install vcpython27 -f -y - name: Build wheels - run: | - python -m cibuildwheel --output-dir wheelhouse + run: python -m cibuildwheel --output-dir wheelhouse - uses: actions/upload-artifact@v2 with: @@ -52,7 +49,7 @@ jobs: - uses: actions/setup-python@v2 name: Install Python with: - python-version: '3.7' + python-version: '3.8' - name: Build sdist run: python setup.py sdist diff --git a/examples/github-minimal.yml b/examples/github-minimal.yml index 03ce1724..af82797f 100644 --- a/examples/github-minimal.yml +++ b/examples/github-minimal.yml @@ -16,20 +16,17 @@ jobs: - uses: actions/setup-python@v2 name: Install Python with: - python-version: '3.7' + python-version: '3.8' - name: Install cibuildwheel - run: | - python -m pip install cibuildwheel==1.8.0 + run: python -m pip install cibuildwheel==1.8.0 - name: Install Visual C++ for Python 2.7 if: runner.os == 'Windows' - run: | - choco install vcpython27 -f -y + run: choco install vcpython27 -f -y - name: Build wheels - run: | - python -m cibuildwheel --output-dir wheelhouse + run: python -m cibuildwheel --output-dir wheelhouse - uses: actions/upload-artifact@v2 with: diff --git a/examples/github-with-qemu.yml b/examples/github-with-qemu.yml index 2b3f55af..cccc363f 100644 --- a/examples/github-with-qemu.yml +++ b/examples/github-with-qemu.yml @@ -19,13 +19,11 @@ jobs: python-version: '3.7' - name: Install cibuildwheel - run: | - python -m pip install cibuildwheel==1.8.0 + run: python -m pip install cibuildwheel==1.8.0 - name: Install Visual C++ for Python 2.7 if: runner.os == 'Windows' - run: | - choco install vcpython27 -f -y + run: choco install vcpython27 -f -y - name: Set up QEMU if: runner.os == 'Linux' @@ -34,8 +32,7 @@ jobs: platforms: all - name: Build wheels - run: | - python -m cibuildwheel --output-dir wheelhouse + run: python -m cibuildwheel --output-dir wheelhouse env: # configure cibuildwheel to build native archs ('auto'), and some # emulated ones