ci: install vcpkg on arm on native runners

This commit is contained in:
Amin Yahyaabadi 2025-02-24 11:15:47 -08:00
parent 6f636f96f2
commit 348d31f538
1 changed files with 1 additions and 6 deletions

View File

@ -30,13 +30,8 @@ RUN node /usr/lib/setup-cpp/setup-cpp.js \
--cppcheck true \
--gcovr true \
--doxygen true \
--vcpkg true \
--ccache true && \
# install vcpkg if the architecture is amd64
dpkgArch="$(dpkg --print-architecture)" && \
case "${dpkgArch##*-}" in \
amd64) node /usr/lib/setup-cpp/setup-cpp.js --vcpkg true ;; \
*) echo >&2 "unsupported vcpkg architecture: ${dpkgArch}" ;; \
esac && \
# cleanup
nala autoremove -y && \
nala autopurge -y && \