Add mac/windows sample builds
This commit is contained in:
@@ -10,10 +10,11 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_wheels:
|
build_wheels:
|
||||||
name: Sample build [${{ matrix.result }}]
|
name: Sample build [${{ matrix.os }},${{ matrix.result }}]
|
||||||
runs-on: ubuntu-18.04
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
os: [ubuntu-18.04, windows-latest, macos-latest]
|
||||||
result: [success, failure]
|
result: [success, failure]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -28,6 +29,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python -m pip install -r requirements-dev.txt
|
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
|
- name: Generate sample project
|
||||||
run: |
|
run: |
|
||||||
if $should_fail; then
|
if $should_fail; then
|
||||||
|
|||||||
Reference in New Issue
Block a user