Update aarch64 workflow
This commit is contained in:
parent
901abc9c5d
commit
58b9124663
1 changed files with 13 additions and 5 deletions
|
@ -12,16 +12,20 @@ jobs:
|
||||||
pkgver: 9.0.4
|
pkgver: 9.0.4
|
||||||
buildno: 54
|
buildno: 54
|
||||||
qtver: 5.15.3
|
qtver: 5.15.3
|
||||||
|
VPYTHON_BYPASS: manually managed python not supported by chrome operations
|
||||||
steps:
|
steps:
|
||||||
- name: Environment setup
|
- name: Environment setup
|
||||||
run: |
|
run: |
|
||||||
cat /etc/os-release
|
cat /etc/os-release
|
||||||
apt-get update
|
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
|
# node version set in build_tools/scripts/build_server variable pkg_target
|
||||||
curl -sL https://deb.nodesource.com/setup_18.x | bash -
|
curl -sL https://deb.nodesource.com/setup_18.x | bash -
|
||||||
apt-get install -y nodejs
|
apt-get install -y nodejs
|
||||||
npm install -g grunt grunt-cli
|
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
|
- name: Getting patches
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Fetching sources
|
- name: Fetching sources
|
||||||
|
@ -37,18 +41,22 @@ jobs:
|
||||||
cd build
|
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/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/disable-licensing-limits.patch
|
||||||
|
git apply -v --ignore-space-change --ignore-whitespace $GITHUB_WORKSPACE/arm64-doctrender-add-missing-includepath.patch
|
||||||
- name: Development setup
|
- name: Development setup
|
||||||
run: |
|
run: |
|
||||||
mkdir -p build/build_tools/system_qt-$qtver/gcc_64
|
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/aarch64-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/aarch64-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/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
|
cd build/build_tools/tools/linux
|
||||||
|
mkdir python3 # keeps from untar and adding to PATH x86_64 python3
|
||||||
python3 ./deps.py
|
python3 ./deps.py
|
||||||
- name: Build server
|
- name: Build server
|
||||||
run: |
|
run: |
|
||||||
cd build/build_tools
|
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
|
python3 ./make.py
|
||||||
- name: Build package
|
- name: Build package
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue