update
Some checks failed
/ build-test (pull_request) Failing after 4m29s

This commit is contained in:
Antoine Martin 2024-08-24 10:14:50 -04:00
parent 9f397cb265
commit 050817e10d
Signed by: ayakael
GPG key ID: D62A472A4AA7D541

View file

@ -6,16 +6,16 @@ jobs:
build-test: build-test:
runs-on: x86_64 runs-on: x86_64
container: container:
image: onlyoffice/documentserver:8.0.1.1 image: onlyoffice/documentserver:8.1.1.2
env: env:
pkgver: 8.0.1 pkgver: 8.1.1
buildno: 1 buildno: 39
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 python3 python-is-python3 curl lsb-release apt-get install -y git make g++ bzip2 sudo patch python2 curl lsb-release p7zip-full qtbase5-dev
curl -sL https://deb.nodesource.com/setup_16.x | bash - curl -sL https://deb.nodesource.com/setup_16.x | bash -
apt-get update apt-get update
apt-get install -y nodejs apt-get install -y nodejs
@ -34,13 +34,18 @@ jobs:
run: git clone https://github.com/ONLYOFFICE/onlyoffice.github.io onlyoffice-document-server/onlyoffice.github.io run: git clone https://github.com/ONLYOFFICE/onlyoffice.github.io onlyoffice-document-server/onlyoffice.github.io
- name: Applying patches - name: Applying patches
run: | run: |
patch -p1 -d onlyoffice-document-server/web-apps -i $GITHUB_WORKSPACE/web-apps.patch git -C onlyoffice-document-server/server apply -v --ignore-space-change --ignore-whitespace $GITHUB_WORKSPACE/server.patch
patch -p1 -d onlyoffice-document-server/server -i $GITHUB_WORKSPACE/server.patch git -C onlyoffice-document-server/web-apps apply -v --ignore-space-change --ignore-whitespace $GITHUB_WORKSPACE/web-apps.patch
- name: Building onlyoffice - name: Building onlyoffice
run: | run: |
cd onlyoffice-document-server/build_tools cd onlyoffice-document-server/build_tools
./configure.py --update 0 --module "server" mkdir -p ./system_qt/gcc_64
./make.py ln -s /usr/lib/x86_64-linux-gnu ./system_qt/gcc_64/lib
ln -s /usr/lib/x86_64-linux-gnu/qt5/bin ./system_qt/gcc_64/bin
ln -s /usr/lib/x86_64-linux-gnu/qt5/plugins ./system_qt/gcc_64/plugins
python2 ./build_tools/tools/linux/deps.py
python2 ./configure.py --update 0 --module "server" --qt-dir $(pwd)/system_qt
python2 ./make.py
- name: Package upload - name: Package upload
uses: forgejo/upload-artifact@v3 uses: forgejo/upload-artifact@v3
with: with: