Skip to content

Commit 34928e1

Browse files
committed
Update toolchain URLs and add CI test summary job
1 parent 7a3cbe1 commit 34928e1

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.ci/setup-toolchain.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ TOOLCHAIN_TYPE=${1:-gnu}
77
setup_gnu_toolchain() {
88
echo "[+] Setting up GNU RISC-V toolchain..."
99

10-
local URL="https://github.com/riscv-collab/riscv-gnu-toolchain/releases/download/2025.07.03/riscv32-elf-ubuntu-24.04-gcc-nightly-2025.06.13-nightly.tar.xz"
10+
local URL="https://github.com/riscv-collab/riscv-gnu-toolchain/releases/download/2025.07.03/riscv32-elf-ubuntu-24.04-gcc-nightly-2025.07.03-nightly.tar.xz"
1111

1212
echo "[+] Downloading RISC-V GNU toolchain..."
1313
wget -q "$URL"
@@ -25,7 +25,7 @@ setup_llvm_toolchain() {
2525
echo "[+] Setting up LLVM RISC-V toolchain..."
2626

2727
# upstream URL for LLVM toolchain
28-
local URL="https://github.com/riscv-collab/riscv-gnu-toolchain/releases/download/2025.07.03/riscv32-elf-ubuntu-24.04-llvm-nightly-2025.06.13-nightly.tar.xz"
28+
local URL="https://github.com/riscv-collab/riscv-gnu-toolchain/releases/download/2025.07.03/riscv32-elf-ubuntu-24.04-llvm-nightly-2025.07.03-nightly.tar.xz"
2929

3030
echo "[+] Downloading RISC-V LLVM toolchain..."
3131
wget -q "$URL"

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,19 @@ jobs:
6868
repo: context.repo.repo,
6969
body: `## Linmo QEMU App Test Result (${toolchain} Toolchain)\n\n\`\`\`\n${output}\n\`\`\`\n\n_This is an automated report from CI._`
7070
});
71+
72+
# Optional: Create a summary job that depends on all matrix jobs
73+
test-summary:
74+
runs-on: ubuntu-24.04
75+
needs: matrix-tests
76+
if: always()
77+
78+
steps:
79+
- name: Check test results
80+
run: |
81+
if [ "${{ needs.matrix-tests.result }}" = "success" ]; then
82+
echo "✅ All toolchain tests passed!"
83+
else
84+
echo "❌ Some toolchain tests failed"
85+
exit 1
86+
fi

0 commit comments

Comments
 (0)