diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 39b46792..bf1e79d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - arch: [amd64, armv7, aarch64, ppc64le, i386] + arch: [amd64, armv7, aarch64, ppc64le, riscv64, i386] steps: - uses: actions/checkout@v4 @@ -36,7 +36,7 @@ jobs: sudo schroot -c mychroot -- ./.github/workflows/generic-build.sh ${{ matrix.arch }} - name: Build for matrix.arch == armv7, aarch64, ppc64le - if: ${{ matrix.arch == 'armv7' || matrix.arch == 'aarch64' || matrix.arch == 'ppc64le' }} + if: ${{ matrix.arch == 'armv7' || matrix.arch == 'aarch64' || matrix.arch == 'ppc64le' || matrix.arch == 'riscv64' }} uses: uraimo/run-on-arch-action@v2 with: arch: ${{ matrix.arch }} diff --git a/.github/workflows/generic-build.sh b/.github/workflows/generic-build.sh index c28fe2f2..497cbd4a 100644 --- a/.github/workflows/generic-build.sh +++ b/.github/workflows/generic-build.sh @@ -11,6 +11,8 @@ run () { DEB_ARCH="armhf" elif [ "$DEB_ARCH" = "aarch64" ]; then DEB_ARCH="arm64" + elif [ "$DEB_ARCH" = "riscv64" ]; then + DEB_ARCH="riscv64" else EXTRA_PACKAGES="g++-multilib" fi