diff --git a/.forgejo/workflows/release-build-aarch64.yaml b/.forgejo/workflows/release-build-aarch64.yaml index 06b99a1..3ec8468 100644 --- a/.forgejo/workflows/release-build-aarch64.yaml +++ b/.forgejo/workflows/release-build-aarch64.yaml @@ -12,16 +12,20 @@ jobs: pkgver: 9.0.4 buildno: 54 qtver: 5.15.3 + VPYTHON_BYPASS: manually managed python not supported by chrome operations steps: - name: Environment setup run: | cat /etc/os-release apt-get update - apt-get install -y git make g++ bzip2 sudo patch python2 curl lsb-release p7zip-full qtbase5-dev debhelper clang-14 lld-14 + apt-get install -y git make g++ bzip2 sudo patch curl lsb-release p7zip-full qtbase5-dev debhelper clang-14 lld-14 wget + update-alternatives --install /usr/bin/python python /usr/bin/python3 1 # node version set in build_tools/scripts/build_server variable pkg_target curl -sL https://deb.nodesource.com/setup_18.x | bash - apt-get install -y nodejs npm install -g grunt grunt-cli + wget http://ftp.us.debian.org/debian/pool/main/g/generate-ninja/generate-ninja_0.0~git20210128.09c9e5e-1_arm64.deb + apt install ./generate-ninja_0.0~git20210128.09c9e5e-1_arm64.deb - name: Getting patches uses: actions/checkout@v4 - name: Fetching sources @@ -37,18 +41,22 @@ jobs: cd build git apply -v --ignore-space-change --ignore-whitespace $GITHUB_WORKSPACE/core_v8-use-system-clang.patch git apply -v --ignore-space-change --ignore-whitespace $GITHUB_WORKSPACE/disable-licensing-limits.patch + git apply -v --ignore-space-change --ignore-whitespace $GITHUB_WORKSPACE/arm64-doctrender-add-missing-includepath.patch - name: Development setup run: | mkdir -p build/build_tools/system_qt-$qtver/gcc_64 - ln -s /usr/lib/x86_64-linux-gnu build/build_tools/system_qt-$qtver/gcc_64/lib - ln -s /usr/lib/x86_64-linux-gnu/qt5/bin build/build_tools/system_qt-$qtver/gcc_64/bin - ln -s /usr/lib/x86_64-linux-gnu/qt5/plugins build/build_tools/system_qt-$qtver/gcc_64/plugins + ln -s /usr/lib/aarch64-linux-gnu build/build_tools/system_qt-$qtver/gcc_64/lib + ln -s /usr/lib/aarch64-linux-gnu/qt5/bin build/build_tools/system_qt-$qtver/gcc_64/bin + ln -s /usr/lib/aarch64-linux-gnu/qt5/plugins build/build_tools/system_qt-$qtver/gcc_64/plugins + mkdir -p build/core/Common/3dParty/v8_89/v8/buildtools + ln -s /usr/bin build/core/Common/3dParty/v8_89/v8/buildtools/linux64 cd build/build_tools/tools/linux + mkdir python3 # keeps from untar and adding to PATH x86_64 python3 python3 ./deps.py - name: Build server run: | cd build/build_tools - python3 ./configure.py --update 0 --module "server" --qt-dir $(pwd)/system_qt-$qtver + python3 ./configure.py --update 0 --platform linux_arm64 --module "server" --qt-dir $(pwd)/system_qt-$qtver python3 ./make.py - name: Build package run: |