Cleanup build steps
This commit is contained in:
parent
aab614a471
commit
11e79d4160
1 changed files with 9 additions and 11 deletions
|
@ -19,23 +19,20 @@ 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
|
||||||
|
@ -45,6 +42,7 @@ jobs:
|
||||||
pushd tools/linux
|
pushd tools/linux
|
||||||
python2 ./deps.py
|
python2 ./deps.py
|
||||||
popd
|
popd
|
||||||
|
- 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
|
||||||
|
|
Loading…
Add table
Reference in a new issue