# the repetition should be a function using jsonnet, but drone still # expects YAML even with .jsonnet extension, yielding a parse error kind: pipeline name: linux_python310_aarch64 platform: arch: arm64 steps: - name: test image: quay.io/pypa/manylinux_2_28_aarch64:latest environment: PATH: "/root/.local/bin:/root/.cargo/bin:/opt/python/cp310-cp310/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin" MATURIN_USERNAME: from_secret: twine_username MATURIN_PASSWORD: from_secret: twine_password CC: "clang" CFLAGS: "-O2 -fno-plt -flto=thin" LDFLAGS: "-O2 -flto=thin -fuse-ld=lld -Wl,--as-needed" RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=lld" commands: - yum update -y && yum install -y clang lld - curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly-2022-06-22 --profile minimal -y - python3.10 -m pip install --user --upgrade pip "maturin>=0.12.19,<0.13" wheel - cargo fetch - maturin build --no-sdist --release --strip --compatibility manylinux_2_28 --cargo-extra-args="--features=unstable-simd,yyjson" --interpreter python3.10 - python3.10 -m pip install --user target/wheels/orjson*.whl - python3.10 -m pip install --user -r test/requirements.txt -r integration/requirements.txt - pytest -s -rxX -v test - ./integration/run thread - ./integration/run http - ./ci/deploy target/wheels/*.whl --- kind: pipeline name: linux_python39_aarch64 platform: arch: arm64 steps: - name: test image: quay.io/pypa/manylinux_2_28_aarch64:latest environment: PATH: "/root/.local/bin:/root/.cargo/bin:/opt/python/cp39-cp39/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin" MATURIN_USERNAME: from_secret: twine_username MATURIN_PASSWORD: from_secret: twine_password CC: "clang" CFLAGS: "-O2 -fno-plt -flto=thin" LDFLAGS: "-O2 -flto=thin -fuse-ld=lld -Wl,--as-needed" RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=lld" commands: - yum update -y && yum install -y clang lld - curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly-2022-06-22 --profile minimal -y - python3.9 -m pip install --user --upgrade pip "maturin>=0.12.19,<0.13" wheel - cargo fetch - maturin build --no-sdist --release --strip --compatibility manylinux_2_28 --cargo-extra-args="--features=unstable-simd,yyjson" --interpreter python3.9 - python3.9 -m pip install --user target/wheels/orjson*.whl - python3.9 -m pip install --user -r test/requirements.txt -r integration/requirements.txt - pytest -s -rxX -v test - ./integration/run thread - ./integration/run http - ./ci/deploy target/wheels/*.whl --- kind: pipeline name: linux_python38_aarch64 platform: arch: arm64 steps: - name: test image: quay.io/pypa/manylinux_2_28_aarch64:latest environment: PATH: "/root/.local/bin:/root/.cargo/bin:/opt/python/cp38-cp38/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin" MATURIN_USERNAME: from_secret: twine_username MATURIN_PASSWORD: from_secret: twine_password CC: "clang" CFLAGS: "-O2 -fno-plt -flto=thin" LDFLAGS: "-O2 -flto=thin -fuse-ld=lld -Wl,--as-needed" RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=lld" commands: - yum update -y && yum install -y clang lld - curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly-2022-06-22 --profile minimal -y - python3.8 -m pip install --user --upgrade pip "maturin>=0.12.19,<0.13" wheel - cargo fetch - maturin build --no-sdist --release --strip --compatibility manylinux_2_28 --cargo-extra-args="--features=unstable-simd,yyjson" --interpreter python3.8 - python3.8 -m pip install --user target/wheels/orjson*.whl - python3.8 -m pip install --user -r test/requirements.txt -r integration/requirements.txt - pytest -s -rxX -v test - ./integration/run thread - ./integration/run http - ./ci/deploy target/wheels/*.whl --- kind: pipeline name: linux_python37_aarch64 platform: arch: arm64 steps: - name: test image: quay.io/pypa/manylinux_2_28_aarch64:latest environment: PATH: "/root/.local/bin:/root/.cargo/bin:/opt/python/cp37-cp37m/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin" MATURIN_USERNAME: from_secret: twine_username MATURIN_PASSWORD: from_secret: twine_password CC: "clang" CFLAGS: "-O2 -fno-plt -flto=thin" LDFLAGS: "-O2 -flto=thin -fuse-ld=lld -Wl,--as-needed" RUSTFLAGS: "-C linker=clang -C link-arg=-fuse-ld=lld" commands: - yum update -y && yum install -y clang lld - curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly-2022-06-22 --profile minimal -y - python3.7 -m pip install --user --upgrade pip "maturin>=0.12.19,<0.13" wheel - cargo fetch - maturin build --no-sdist --release --strip --compatibility manylinux_2_28 --cargo-extra-args="--features=unstable-simd,yyjson" --interpreter python3.7 - python3.7 -m pip install --user target/wheels/orjson*.whl - python3.7 -m pip install --user -r test/requirements.txt -r integration/requirements.txt - pytest -s -rxX -v test - ./integration/run thread - ./integration/run http - ./ci/deploy target/wheels/*.whl