Skip to content

Commit afdd144

Browse files
committed
riscvgc architecture uses static compilation
1 parent 55d0804 commit afdd144

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ jobs:
5353
export XMAKE_ROOT=y # Only need to use "--root" in CI
5454
xmake --version
5555
source env.sh
56+
case "${{ matrix.arch }}" in
57+
"riscv64gc"|"arm")
58+
export RT_XMAKE_LINK_TYPE="static"
59+
;;
60+
esac
5661
pushd apps
5762
xmake f -a ${{ matrix.arch }} -vyD
5863
xmake -j$(nproc) -vyD

0 commit comments

Comments
 (0)