Use the composite-steps action in more examples

This commit is contained in:
Joe Rickerby
2021-02-05 19:19:19 +00:00
parent adc6af9e7c
commit b6eca6ca48
3 changed files with 7 additions and 9 deletions
+1 -4
View File
@@ -26,15 +26,12 @@ jobs:
with:
python-version: '3.8'
- name: Install cibuildwheel
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
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
uses: joerick/cibuildwheel@v1.8.0
- uses: actions/upload-artifact@v2
with:
+5 -1
View File
@@ -17,7 +17,11 @@ jobs:
if: runner.os == 'Windows'
run: choco install vcpython27 -f -y
- uses: joerick/cibuildwheel@v1.8.0
- name: Build wheels
uses: joerick/cibuildwheel@v1.8.0
env:
# if you need to supply options, put them here. e.g.
# CIBW_SOME_OPTION: value
- uses: actions/upload-artifact@v2
with:
+1 -4
View File
@@ -18,9 +18,6 @@ jobs:
with:
python-version: '3.7'
- name: Install cibuildwheel
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
@@ -32,7 +29,7 @@ jobs:
platforms: all
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
uses: joerick/cibuildwheel@v1.8.0
env:
# configure cibuildwheel to build native archs ('auto'), and some
# emulated ones