Add arm64 build, update Qt version and docker image for github actions

This commit is contained in:
Aleksey Komarov 2025-01-19 12:59:37 +03:00 committed by Ani
parent 49f6c5cdca
commit c7c45bf2b8
2 changed files with 26 additions and 11 deletions

13
.ci/build-linux-aarch64.sh Normal file → Executable file
View file

@ -12,9 +12,16 @@ git submodule -q update --init $(awk '/path/ && !/llvm/ && !/opencv/ { print $3
mkdir build && cd build || exit 1
export CC="${CLANG_BINARY}"
export CXX="${CLANGXX_BINARY}"
export LINKER="${LLD_BINARY}"
if [ "$COMPILER" = "gcc" ]; then
# These are set in the dockerfile
export CC="${GCC_BINARY}"
export CXX="${GXX_BINARY}"
export LINKER=gold
else
export CC="${CLANG_BINARY}"
export CXX="${CLANGXX_BINARY}"
export LINKER="${LLD_BINARY}"
fi
export CFLAGS="$CFLAGS -fuse-ld=${LINKER}"
export CXXFLAGS="$CXXFLAGS -fuse-ld=${LINKER}"