Skip to content

Commit d0342db

Browse files
wellweiSunrisepeak
authored andcommitted
ci: use self-built mcpp in ARM source builds
1 parent 61c25c1 commit d0342db

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci-aarch64-fresh-install.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,14 @@ jobs:
127127
# musl-static target is the published path, so build with --target.
128128
git clone --depth 1 https://github.com/mcpp-community/mcpp /tmp/mcpp-src
129129
cd /tmp/mcpp-src
130-
mcpp self config --mirror GLOBAL 2>/dev/null || true
131-
mcpp build --target aarch64-linux-musl
130+
"$MCPP_SELF" self config --mirror GLOBAL 2>/dev/null || true
131+
"$MCPP_SELF" build --target aarch64-linux-musl
132132
m=$(find target/aarch64-linux-musl -type f -name mcpp | head -1)
133133
file "$m" | grep -q "ARM aarch64" || { echo "expected aarch64 mcpp"; exit 1; }
134134
"$m" --version
135135
git clone --depth 1 https://github.com/openxlings/xlings /tmp/xlings-src
136136
cd /tmp/xlings-src
137-
mcpp build --target aarch64-linux-musl
137+
"$MCPP_SELF" build --target aarch64-linux-musl
138138
x=$(find target/aarch64-linux-musl -type f -name xlings | head -1)
139139
file "$x" | grep -q "ARM aarch64" || { echo "expected aarch64 xlings"; exit 1; }
140140
"$x" --version

0 commit comments

Comments
 (0)