Skip to content

Commit

Permalink
ci: Add riscv62
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonKagstrom committed May 1, 2024
1 parent 29c572c commit 4842cc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
arch: [amd64, armv7, aarch64, ppc64le, i386]
arch: [amd64, armv7, aarch64, ppc64le, riscv64, i386]

steps:
- uses: actions/checkout@v3
Expand All @@ -32,7 +32,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 }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/generic-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4842cc7

Please sign in to comment.