Skip to content

Commit

Permalink
arm7
Browse files Browse the repository at this point in the history
  • Loading branch information
ijl committed Apr 30, 2024
1 parent 62344f9 commit 3161b71
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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',
features: 'no-panic,yyjson', # no SIMD
rustflags: '-C lto=fat -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
Expand All @@ -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
Expand Down

0 comments on commit 3161b71

Please sign in to comment.