This is an automated email from the ASF dual-hosted git repository.

robocanic pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-admin.git


The following commit(s) were added to refs/heads/develop by this push:
     new f9885fb4 feat: add riscv support (#1526)
f9885fb4 is described below

commit f9885fb4090d886e1a02d79d9188ae2be9cf4a83
Author: robb <[email protected]>
AuthorDate: Sun Aug 9 21:43:22 2026 +0800

    feat: add riscv support (#1526)
---
 .github/workflows/riscv-build.yml | 66 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)

diff --git a/.github/workflows/riscv-build.yml 
b/.github/workflows/riscv-build.yml
new file mode 100644
index 00000000..c23469d3
--- /dev/null
+++ b/.github/workflows/riscv-build.yml
@@ -0,0 +1,66 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+name: RISC-V Build
+
+on:
+  push:
+    branches:
+      - develop
+  pull_request:
+    branches:
+      - develop
+
+permissions:
+  contents: read
+
+jobs:
+  riscv-build:
+    name: RISC-V Build (linux/riscv64)
+    runs-on: ubuntu-latest
+    if: github.repository == 'apache/dubbo-admin'
+
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v4
+
+      - name: Setup Node.js
+        uses: actions/setup-node@v4
+        with:
+          node-version: '18'
+          cache: yarn
+          cache-dependency-path: ui-vue3/yarn.lock
+
+      - name: Build frontend
+        working-directory: ui-vue3
+        run: |
+          yarn install --frozen-lockfile
+          yarn build
+
+      - name: Copy frontend assets
+        run: cp -r ui-vue3/dist/ app/dubbo-ui/
+
+      - name: Setup Go
+        uses: actions/setup-go@v5
+        with:
+          go-version-file: go.mod
+          cache-dependency-path: go.sum
+
+      - name: Build for linux/riscv64
+        env:
+          CGO_ENABLED: 0
+          GOARCH: riscv64
+          GOOS: linux
+        run: go build ./...

Reply via email to