From 11e79d416019468ef9c1794db5dec66bd347d7e5 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sat, 24 Aug 2024 10:38:08 -0400 Subject: [PATCH] Cleanup build steps --- .forgejo/workflows/test-build.yaml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.forgejo/workflows/test-build.yaml b/.forgejo/workflows/test-build.yaml index 808bf3d..b7f103c 100644 --- a/.forgejo/workflows/test-build.yaml +++ b/.forgejo/workflows/test-build.yaml @@ -19,23 +19,20 @@ 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 @@ -45,6 +42,7 @@ jobs: pushd tools/linux python2 ./deps.py popd + - name: Onlyoffice server build python2 ./configure.py --update 0 --module "server" --qt-dir $(pwd)/system_qt python2 ./make.py - name: Package upload