Add mac/windows sample builds

This commit is contained in:
Joe Rickerby
2020-11-13 17:21:14 +00:00
parent 1ab1130fe1
commit 57d38efd4d
+8 -2
View File
@@ -10,10 +10,11 @@ on:
jobs:
build_wheels:
name: Sample build [${{ matrix.result }}]
runs-on: ubuntu-18.04
name: Sample build [${{ matrix.os }},${{ matrix.result }}]
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, windows-latest, macos-latest]
result: [success, failure]
steps:
@@ -28,6 +29,11 @@ jobs:
run: |
python -m pip install -r requirements-dev.txt
- name: Install Visual C++ for Python 2.7
if: runner.os == 'Windows'
run: |
choco install vcpython27 -f -y
- name: Generate sample project
run: |
if $should_fail; then