File tree Expand file tree Collapse file tree 2 files changed +25
-4
lines changed
Expand file tree Collapse file tree 2 files changed +25
-4
lines changed Original file line number Diff line number Diff line change 44 push :
55 branches :
66 - master
7- tags :
87 pull_request :
98 workflow_dispatch :
109
2120 include :
2221 - os : ubuntu-22.04
2322 arch : x86_64
23+ build-sdist : true
2424 - os : ubuntu-22.04
2525 arch : i686
2626 - os : ubuntu-22.04
4343
4444 - name : Set up QEMU
4545 if : runner.os == 'Linux'
46- uses : docker/setup-qemu-action@v2
46+ uses : docker/setup-qemu-action@v3
4747 with :
4848 platforms : all
4949
6767 fi
6868 CIBW_BEFORE_ALL_WINDOWS : ${{ matrix.before }}
6969 CIBW_BUILD_FRONTEND : build
70- CIBW_CONFIG_SETTINGS : --enable-cuckoo --enable-magic --enable-dex --enable-macho --enable-openssl
7170 CIBW_ENVIRONMENT : ${{ matrix.env }}
72- CIBW_SKIP : cp36-*
71+ CIBW_SKIP : cp36-* *-macosx_universal2:arm64
7372 CIBW_TEST_COMMAND : python {package}/tests.py
7473
7574 - name : Store the distribution packages
7877 name : python-package-distributions-${{ matrix.os }}-${{ matrix.arch }}
7978 path : dist/*.whl
8079
80+ - name : Build Sdist
81+ if : ${{ matrix.build-sdist }}
82+ run : pipx run build --sdist
83+
84+ - name : Store the source distribution package
85+ if : ${{ matrix.build-sdist }}
86+ uses : actions/upload-artifact@v4
87+ with :
88+ name : python-package-distributions-source
89+ path : dist/*.tar.gz
90+
8191 publish-to-pypi :
8292 needs : [build]
8393 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -4,3 +4,14 @@ license_file = LICENSE
44
55[test]
66test_suite =tests
7+
8+ [build_ext]
9+ # These modules are not stable or tested enough
10+ # enable_dex = true
11+ # enable_macho = true
12+
13+ # need libjansson-dev
14+ # enable_cuckoo = true
15+
16+ # need libmagic-dev
17+ # enable_magic = true
You can’t perform that action at this time.
0 commit comments