Skip to content
This repository was archived by the owner on Jun 27, 2025. It is now read-only.

Commit 271cd9d

Browse files
authored
Merge pull request #1 from flexatone/6/store-array
6/store array
2 parents b787199 + be0fdd0 commit 271cd9d

13 files changed

Lines changed: 3059 additions & 406 deletions

.github/workflows/ci.yml

Lines changed: 40 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,45 +8,76 @@ on:
88
- master
99
release:
1010
types: published
11+
1112
jobs:
1213
tar_gz:
1314
name: Package
1415
runs-on: ubuntu-latest
1516
steps:
16-
- uses: actions/checkout@v2
17-
- uses: actions/setup-python@v2
17+
- uses: actions/checkout@v3
18+
- uses: actions/setup-python@v3
1819
- run: python setup.py sdist
19-
- uses: actions/upload-artifact@v2
20+
- uses: actions/upload-artifact@v3
2021
with:
2122
name: dist
2223
path: dist
23-
whl:
24+
25+
whl_lt_3_9:
2426
name: Build / ${{ matrix.os }} / Python 3.${{ matrix.minor }}
2527
strategy:
2628
fail-fast: false
2729
matrix:
2830
os: [macOS, Ubuntu, Windows]
29-
minor: [7, 8, 9, 10, 11]
31+
minor: [7, 8]
3032
runs-on: ${{ matrix.os }}-latest
3133
steps:
32-
- uses: actions/checkout@v2
33-
- uses: actions/setup-python@v2
34+
- uses: actions/checkout@v3
35+
- uses: actions/setup-python@v3
3436
- uses: pypa/cibuildwheel@v2.11.2
3537
with:
3638
output-dir: dist
3739
env:
3840
CIBW_BUILD: cp3${{ matrix.minor }}-*
3941
CIBW_ARCHS_MACOS: all
42+
CIBW_BEFORE_BUILD: pip install -r {project}/requirements-build-backward.txt
43+
CIBW_BEFORE_TEST: pip install -r {project}/requirements-backward.txt
44+
CIBW_TEST_COMMAND: pytest {project}
45+
46+
- uses: actions/upload-artifact@v3
47+
with:
48+
name: dist
49+
path: dist
50+
51+
whl_gte_3_9:
52+
name: Build / ${{ matrix.os }} / Python 3.${{ matrix.minor }}
53+
strategy:
54+
fail-fast: false
55+
matrix:
56+
os: [macOS, Ubuntu, Windows]
57+
minor: [9, 10, 11]
58+
runs-on: ${{ matrix.os }}-latest
59+
steps:
60+
- uses: actions/checkout@v3
61+
- uses: actions/setup-python@v3
62+
- uses: pypa/cibuildwheel@v2.11.2
63+
with:
64+
output-dir: dist
65+
env:
66+
CIBW_BUILD: cp3${{ matrix.minor }}-*
67+
CIBW_ARCHS_MACOS: all
68+
CIBW_BEFORE_BUILD: pip install -r {project}/requirements-build.txt
4069
CIBW_BEFORE_TEST: pip install -r {project}/requirements.txt
4170
CIBW_TEST_COMMAND: pytest {project}
42-
- uses: actions/upload-artifact@v2
71+
72+
- uses: actions/upload-artifact@v3
4373
with:
4474
name: dist
4575
path: dist
76+
4677
upload:
4778
name: Publish
4879
if: github.event_name == 'release' && github.event.action == 'published'
49-
needs: [tar_gz, whl]
80+
needs: [tar_gz, whl_lt_3_9, whl_gte_3_9]
5081
runs-on: ubuntu-latest
5182
steps:
5283
- uses: actions/download-artifact@v2

0 commit comments

Comments
 (0)