diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 06c033e6..e8db6528 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -91,6 +91,7 @@ jobs: - { platform: manylinux2014, arch: s390x, omit: ${{ env.skip_ci_redundant_jobs || env.skip_slow_jobs }} } - { platform: musllinux_1_2, arch: x86_64 } - { platform: musllinux_1_2, arch: aarch64 } + - { platform: manylinux_2_39, arch: riscv64, omit: ${{ env.skip_ci_redundant_jobs || env.skip_slow_jobs }} } linux_libyaml: needs: [make_linux_libyaml_matrix] @@ -184,6 +185,14 @@ jobs: - { platform: musllinux_1_2, arch: aarch64, spec: cp313, omit: ${{ env.skip_ci_redundant_jobs }} } - { platform: musllinux_1_2, arch: aarch64, spec: cp314, omit: ${{ env.skip_slow_jobs }} } - { platform: musllinux_1_2, arch: aarch64, spec: cp314t, omit: ${{ env.skip_slow_jobs }} } + - { platform: manylinux2_39, arch: riscv64, spec: cp38, omit: ${{ env.skip_ci_redundant_jobs || env.skip_slow_jobs }} } + - { platform: manylinux2_39, arch: riscv64, spec: cp39, omit: ${{ env.skip_ci_redundant_jobs || env.skip_slow_jobs }} } + - { platform: manylinux2_39, arch: riscv64, spec: cp310, omit: ${{ env.skip_ci_redundant_jobs || env.skip_slow_jobs }} } + - { platform: manylinux2_39, arch: riscv64, spec: cp311, omit: ${{ env.skip_ci_redundant_jobs || env.skip_slow_jobs }} } + - { platform: manylinux2_39, arch: riscv64, spec: cp312, omit: ${{ env.skip_ci_redundant_jobs || env.skip_slow_jobs }} } + - { platform: manylinux2_39, arch: riscv64, spec: cp313, omit: ${{ env.skip_ci_redundant_jobs || env.skip_slow_jobs }} } + - { platform: manylinux2_39, arch: riscv64, spec: cp314, omit: ${{ env.skip_slow_jobs }} } + - { platform: manylinux2_39, arch: riscv64, spec: cp314t, omit: ${{ env.skip_ci_redundant_jobs || env.skip_slow_jobs }} } linux_pyyaml: needs: [python_sdist, linux_libyaml, make_linux_pyyaml_matrix] @@ -231,6 +240,7 @@ jobs: CIBW_MUSLLINUX_X86_64_IMAGE: ${{ matrix.musllinux_img || 'musllinux_1_2' }} CIBW_MUSLLINUX_I686_IMAGE: ${{ matrix.musllinux_img || 'musllinux_1_2' }} CIBW_MUSLLINUX_AARCH64_IMAGE: ${{ matrix.musllinux_img || 'musllinux_1_2' }} + CIBW_MANYLINUX_RISCV64_IMAGE: ${{ matrix.manylinux_img || '' }} CIBW_TEST_COMMAND: cd {project}; pytest CIBW_TEST_REQUIRES: pytest run: | diff --git a/packaging/build/libyaml.sh b/packaging/build/libyaml.sh index 74957cfb..7c946e33 100755 --- a/packaging/build/libyaml.sh +++ b/packaging/build/libyaml.sh @@ -15,6 +15,8 @@ echo "::group::ensure build/test prerequisites" if ! command -v prove; then if grep -m 1 alpine /etc/os-release; then apk add perl-utils + elif grep -m 1 "Rocky Linux" /etc/os-release; then + dnf install -y perl-Test-Harness else echo "prove (perl) testing tool unavailable" exit 1