Skip to content

Commit 26ea9e4

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

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ jobs:
5353
export XMAKE_ROOT=y # Only need to use "--root" in CI
5454
xmake --version
5555
source env.sh
56+
if [ "${{ matrix.arch }}" = "riscv64gc" ]; then
57+
export RT_XMAKE_LINK_TYPE="static"
58+
fi
5659
pushd apps
5760
xmake f -a ${{ matrix.arch }} -vyD
5861
xmake -j$(nproc) -vyD

0 commit comments

Comments
 (0)