File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed
Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Test branch 1.21.
2+
3+ on :
4+ schedule :
5+ - cron : ' 13 5 * * *'
6+ workflow_dispatch :
7+
8+ jobs :
9+
10+ test_branch_121 :
11+ # Simple build+test on single platform using latest MuPDF from git. This is
12+ # a cut-down version of `build_wheels` except that we use latest MuPDF from
13+ # git and use a single platform and python version.
14+ #
15+ name : Test branch 1.21
16+ runs-on : ${{ matrix.os }}
17+ strategy :
18+ matrix :
19+ os : [ubuntu-latest]
20+
21+ steps :
22+
23+ - uses : actions/checkout@v2
24+ with :
25+ ref : 1.21
26+ - uses : actions/setup-python@v2
27+
28+ # Set up cibuildwheel.
29+ #
30+ - name : cibuildwheel
31+ uses : pypa/cibuildwheel@v2.11.2
32+
33+ env :
34+ # We test building with the default hard-coded mupdf URL.
35+
36+ # Build on single cpu.
37+ CIBW_ARCHS_LINUX : x86_64
38+
39+ # Build for single python version.
40+ CIBW_BUILD : " cp311*"
41+
42+ # Don't build for unsupported platforms.
43+ CIBW_SKIP : " pp* *i686 *-musllinux_* cp36*"
44+
45+ # Get cibuildwheel to run pytest with each wheel.
46+ CIBW_TEST_REQUIRES : " fontTools pytest"
47+ CIBW_TEST_COMMAND : " pytest -s {project}/tests"
48+ CIBW_BUILD_VERBOSITY : 3
You can’t perform that action at this time.
0 commit comments