diff --git a/.github/workflows/artifact.yaml b/.github/workflows/artifact.yaml index d8279fac..1923c469 100644 --- a/.github/workflows/artifact.yaml +++ b/.github/workflows/artifact.yaml @@ -204,47 +204,47 @@ jobs: matrix: python: [ { version: '3.12', abi: 'cp312-cp312' }, - { version: '3.11', abi: 'cp311-cp311' }, - { version: '3.10', abi: 'cp310-cp310' }, - { version: '3.9', abi: 'cp39-cp39' }, - { version: '3.8', abi: 'cp38-cp38' }, + # { version: '3.11', abi: 'cp311-cp311' }, + # { version: '3.10', abi: 'cp310-cp310' }, + # { version: '3.9', abi: 'cp39-cp39' }, + # { version: '3.8', abi: 'cp38-cp38' }, ] target: [ - { - arch: 'aarch64', - cflags: '-Os -flto=full -fstrict-aliasing', - features: 'no-panic,unstable-simd,yyjson', - rustflags: '-Z mir-opt-level=4 -C lto=fat -D warnings', - target: 'aarch64-unknown-linux-gnu', - }, + # { + # arch: 'aarch64', + # cflags: '-Os -flto=full -fstrict-aliasing', + # features: 'no-panic,unstable-simd,yyjson', + # rustflags: '-Z mir-opt-level=4 -C lto=fat -D warnings', + # target: 'aarch64-unknown-linux-gnu', + # }, { arch: 'armv7', - cflags: '-Os -flto=full -fstrict-aliasing', + cflags: '-Os', features: 'no-panic,yyjson', # no SIMD - rustflags: '-C lto=fat -D warnings -C opt-level=s', + rustflags: '-D warnings -C opt-level=s', target: 'armv7-unknown-linux-gnueabihf', }, - { - arch: 'ppc64le', - cflags: '-Os -flto=full -fstrict-aliasing', - features: 'no-panic,unstable-simd,yyjson', - rustflags: '-Z mir-opt-level=4 -C lto=fat -D warnings', - target: 'powerpc64le-unknown-linux-gnu', - }, - { - arch: 's390x', - cflags: '-Os -flto=full -fstrict-aliasing -march=z10', - features: 'no-panic,yyjson', - rustflags: '-Z mir-opt-level=4 -C lto=fat -D warnings -C target-cpu=z10', - target: 's390x-unknown-linux-gnu', - }, + # { + # arch: 'ppc64le', + # cflags: '-Os -flto=full -fstrict-aliasing', + # features: 'no-panic,unstable-simd,yyjson', + # rustflags: '-Z mir-opt-level=4 -C lto=fat -D warnings', + # target: 'powerpc64le-unknown-linux-gnu', + # }, + # { + # arch: 's390x', + # cflags: '-Os -flto=full -fstrict-aliasing -march=z10', + # features: 'no-panic,yyjson', + # rustflags: '-Z mir-opt-level=4 -C lto=fat -D warnings -C target-cpu=z10', + # target: 's390x-unknown-linux-gnu', + # }, ] steps: - uses: actions/checkout@v4 - - name: build-std - run: | - mkdir .cargo - cp ci/config.toml .cargo/config.toml + # - name: build-std + # run: | + # mkdir .cargo + # cp ci/config.toml .cargo/config.toml - name: Build uses: PyO3/maturin-action@v1 @@ -258,7 +258,7 @@ jobs: rust-toolchain: nightly-2024-04-30 rustup-components: rust-src manylinux: auto - args: --release --strip --out=dist --features=${{ matrix.target.features }} -i python${{ matrix.python.version }} + args: --profile=dev --strip --out=dist --features=${{ matrix.target.features }} -i python${{ matrix.python.version }} - uses: uraimo/run-on-arch-action@v2 name: Test