-
Notifications
You must be signed in to change notification settings - Fork 41
39 lines (36 loc) · 1.18 KB
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Proper manylinux builds would require building in a manylinux image, then
# unpacking, moving out purelib, and repacking (using a recent version of wheel),
# then returning to the image to retag.
name: build
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
include:
- {os: ubuntu-latest, python-version: "3.7"}
- {os: ubuntu-latest, python-version: "3.12"}
- {os: macos-latest, python-version: "3.9"}
- {os: macos-latest, python-version: "3.12"}
- {os: windows-latest, python-version: "3.6"}
- {os: windows-latest, python-version: "3.12"}
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
submodules: true
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install
shell: bash
run: |
python -mpip install --upgrade pip setuptools wheel &&
python -mpip wheel --no-deps --wheel-dir dist . &&
python -mpip install dist/*
- name: Test
run: |
python -mpip install coverage &&
cd examples &&
python __run_all_examples__.py --cov