Compare commits
2 commits
aab614a471
...
d40449db40
Author | SHA1 | Date | |
---|---|---|---|
d40449db40 | |||
11e79d4160 |
1 changed files with 11 additions and 13 deletions
|
@ -19,32 +19,30 @@ jobs:
|
|||
curl -sL https://deb.nodesource.com/setup_16.x | bash -
|
||||
apt-get install -y nodejs
|
||||
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
|
||||
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
|
||||
run: |
|
||||
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
|
||||
- name: Development setup
|
||||
run: |
|
||||
cd onlyoffice-document-server/build_tools
|
||||
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
|
||||
pushd tools/linux
|
||||
cd tools/linux
|
||||
python2 ./deps.py
|
||||
popd
|
||||
cd ../../
|
||||
- name: Onlyoffice server build
|
||||
python2 ./configure.py --update 0 --module "server" --qt-dir $(pwd)/system_qt
|
||||
python2 ./make.py
|
||||
- name: Package upload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue