Skip to content

Commit

Permalink
Introduce riscv64 architecture
Browse files Browse the repository at this point in the history
Based on architecture support provided by ubuntu 24.10, introduce
`riscv64` image to enable `build-gnu-riscv64` and
`unittests-gnu-riscv64` tests on `riscv64` platforms for now.

Signed-off-by: Ruoqing He <[email protected]>
  • Loading branch information
RuoqingHe committed Jul 16, 2024
1 parent bb2f052 commit f7931ce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
# This is needed so that a manifest is created, and we can have the same
# docker container on both x86_64 and arm64.
platforms: linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64,linux/riscv64
tags: ${{ env.VERSION }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

**`rustvmm/dev`** is a container with all dependencies used for running
`rust-vmm` integration and performance tests. The container is available on
Docker Hub and has support for `x86_64` and `aarch64` platforms.
Docker Hub and has support for `x86_64`, `aarch64` and `riscv64` platforms.

For the latest available tag, please check the `rustvmm/dev` builds available
on [Docker Hub](https://hub.docker.com/r/rustvmm/dev/tags).
Expand Down Expand Up @@ -67,7 +67,7 @@ On an `aarch64` platform:
```

You will need to redo all steps on an `x86_64` platform so the containers are
kept in sync (same package versions on both `x86_64` and `aarch64`).
kept in sync (same package versions on `x86_64`, `aarch64` and `riscv64`).

Now that the tags `v4_x86_64` and `v4_aarch64` are pushed to Docker Hub, we can
go ahead and also create a new version tag that points to these two builds
Expand Down
3 changes: 2 additions & 1 deletion docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ manifest(){
docker manifest create \
$new_tag \
"${new_tag}_x86_64" \
"${new_tag}_aarch64"
"${new_tag}_aarch64" \
"${new_tag}_riscv64"
echo "Manifest successfully created"
docker manifest push $new_tag
echo "Manifest successfully pushed on DockerHub: ${DOCKERHUB_LINK}"
Expand Down

0 comments on commit f7931ce

Please sign in to comment.