Skip to content

Commit 516b9ca

Browse files
committed
Add docker-builds for riscv64
1 parent c11ba1b commit 516b9ca

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

.ci/docker/build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ case "${IMAGE_NAME}" in
4949
ARM_SDK=yes
5050
GCC_VERSION=11
5151
;;
52+
executorch-ubuntu-24.04-gcc14-riscv64)
53+
LINTRUNNER=""
54+
GCC_VERSION=14
55+
;;
5256
executorch-ubuntu-22.04-linter)
5357
LINTRUNNER=yes
5458
CLANG_VERSION=12

.github/workflows/docker-builds.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ jobs:
5050
runner: linux.arm64.2xlarge
5151
- docker-image-name: executorch-ubuntu-22.04-gcc11-aarch64-arm-sdk
5252
runner: linux.arm64.2xlarge
53+
- docker-image-name: executorch-ubuntu-24.04-gcc14-riscv64
54+
runner: linux.riscv64.xlarge
5355
- docker-image-name: executorch-ubuntu-22.04-cuda-windows
5456
runner: linux.g5.4xlarge.nvidia.gpu
5557

@@ -65,26 +67,28 @@ jobs:
6567
mkdir "${GITHUB_WORKSPACE}"
6668
6769
- name: Setup SSH (Click me for login details)
68-
uses: pytorch/test-infra/.github/actions/setup-ssh@main
70+
uses: riseproject-dev/test-infra/.github/actions/setup-ssh@main
6971
with:
7072
github-secret: ${{ secrets.GITHUB_TOKEN }}
7173

7274
- name: Checkout Executorch
7375
uses: actions/checkout@v3
7476

7577
- name: Setup Linux
76-
uses: pytorch/test-infra/.github/actions/setup-linux@main
78+
uses: riseproject-dev/test-infra/.github/actions/setup-linux@main
7779

7880
- name: Build docker image
7981
id: build-docker-image
8082
timeout-minutes: 145
81-
uses: pytorch/test-infra/.github/actions/calculate-docker-image@main
83+
uses: riseproject-dev/test-infra/.github/actions/calculate-docker-image@main
84+
env:
85+
SCW_SECRET_KEY: ${{ secrets.SCW_SECRET_KEY }}
8286
with:
8387
docker-image-name: ci-image:${{ matrix.docker-image-name }}
8488
always-rebuild: true
8589
push: true
8690
force-push: true
8791

8892
- name: Teardown Linux
89-
uses: pytorch/test-infra/.github/actions/teardown-linux@main
93+
uses: riseproject-dev/test-infra/.github/actions/teardown-linux@main
9094
if: always()

0 commit comments

Comments
 (0)