This commit is contained in:
parent
9f397cb265
commit
050817e10d
1 changed files with 13 additions and 8 deletions
|
@ -6,16 +6,16 @@ jobs:
|
|||
build-test:
|
||||
runs-on: x86_64
|
||||
container:
|
||||
image: onlyoffice/documentserver:8.0.1.1
|
||||
image: onlyoffice/documentserver:8.1.1.2
|
||||
env:
|
||||
pkgver: 8.0.1
|
||||
buildno: 1
|
||||
pkgver: 8.1.1
|
||||
buildno: 39
|
||||
steps:
|
||||
- name: Environment setup
|
||||
run: |
|
||||
cat /etc/os-release
|
||||
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 -
|
||||
apt-get update
|
||||
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
|
||||
- name: Applying patches
|
||||
run: |
|
||||
patch -p1 -d onlyoffice-document-server/web-apps -i $GITHUB_WORKSPACE/web-apps.patch
|
||||
patch -p1 -d onlyoffice-document-server/server -i $GITHUB_WORKSPACE/server.patch
|
||||
git -C onlyoffice-document-server/server apply -v --ignore-space-change --ignore-whitespace $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
|
||||
run: |
|
||||
cd onlyoffice-document-server/build_tools
|
||||
./configure.py --update 0 --module "server"
|
||||
./make.py
|
||||
mkdir -p ./system_qt/gcc_64
|
||||
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
|
||||
uses: forgejo/upload-artifact@v3
|
||||
with:
|
||||
|
|
Loading…
Add table
Reference in a new issue