Compare commits

...

2 commits

Author SHA1 Message Date
d40449db40
dont use pushd popd
Some checks failed
/ build-test (pull_request) Failing after 0s
2024-08-24 10:39:07 -04:00
11e79d4160
Cleanup build steps 2024-08-24 10:38:08 -04:00

View file

@ -19,32 +19,30 @@ jobs:
curl -sL https://deb.nodesource.com/setup_16.x | bash - curl -sL https://deb.nodesource.com/setup_16.x | bash -
apt-get install -y nodejs apt-get install -y nodejs
npm install -g pkg grunt grunt-cli npm install -g pkg grunt grunt-cli
- name: Cloning source
run: |
git clone https://github.com/ONLYOFFICE/DocumentServer --recursive -b v$pkgver onlyoffice-document-server
git clone https://github.com/ONLYOFFICE/build_tools.git -b v$pkgver.$buildno onlyoffice-document-server/build_tools
git clone https://github.com/ONLYOFFICE/document-server-integration -b v$pkgver.$buildno onlyoffice-document-server/document-server-integration
git clone https://github.com/ONLYOFFICE/document-templates -b v$pkgver.$buildno onlyoffice-document-server/document-templates
git clone https://github.com/ONLYOFFICE/onlyoffice.github.io onlyoffice-document-server/onlyoffice.github.io
- name: Getting patches - name: Getting patches
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Cloning document server source
run: git clone https://github.com/ONLYOFFICE/DocumentServer --recursive -b v$pkgver onlyoffice-document-server
- name: Cloning build tools
run: git clone https://github.com/ONLYOFFICE/build_tools.git -b v$pkgver.$buildno onlyoffice-document-server/build_tools
- name: Cloning document server integration
run: git clone https://github.com/ONLYOFFICE/document-server-integration -b v$pkgver.$buildno onlyoffice-document-server/document-server-integration
- name: Cloning document templates
run: git clone https://github.com/ONLYOFFICE/document-templates -b v$pkgver.$buildno onlyoffice-document-server/document-templates
- name: Cloning onlyoffice 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: |
git -C onlyoffice-document-server/server apply -v --ignore-space-change --ignore-whitespace $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 git -C onlyoffice-document-server/web-apps apply -v --ignore-space-change --ignore-whitespace $GITHUB_WORKSPACE/web-apps.patch
- name: Building onlyoffice - name: Development setup
run: | run: |
cd onlyoffice-document-server/build_tools cd onlyoffice-document-server/build_tools
mkdir -p ./system_qt/gcc_64 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 ./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/bin ./system_qt/gcc_64/bin
ln -s /usr/lib/x86_64-linux-gnu/qt5/plugins ./system_qt/gcc_64/plugins ln -s /usr/lib/x86_64-linux-gnu/qt5/plugins ./system_qt/gcc_64/plugins
pushd tools/linux cd tools/linux
python2 ./deps.py python2 ./deps.py
popd cd ../../
- name: Onlyoffice server build
python2 ./configure.py --update 0 --module "server" --qt-dir $(pwd)/system_qt python2 ./configure.py --update 0 --module "server" --qt-dir $(pwd)/system_qt
python2 ./make.py python2 ./make.py
- name: Package upload - name: Package upload