From eb3f0d793f9efa5369036e4bcadf6c5eae68e993 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Sat, 24 Aug 2024 11:12:29 -0400 Subject: [PATCH] put under build --- .forgejo/workflows/test-build.yaml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.forgejo/workflows/test-build.yaml b/.forgejo/workflows/test-build.yaml index d12898b..4676e29 100644 --- a/.forgejo/workflows/test-build.yaml +++ b/.forgejo/workflows/test-build.yaml @@ -23,32 +23,32 @@ jobs: uses: actions/checkout@v4 - 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 + git clone https://github.com/ONLYOFFICE/DocumentServer --recursive -b v$pkgver build + git clone https://github.com/ONLYOFFICE/build_tools.git -b v$pkgver.$buildno build/build_tools + git clone https://github.com/ONLYOFFICE/document-server-integration -b v$pkgver.$buildno build/document-server-integration + git clone https://github.com/ONLYOFFICE/document-templates -b v$pkgver.$buildno build/document-templates + git clone https://github.com/ONLYOFFICE/onlyoffice.github.io build/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 + git -C build/server apply -v --ignore-space-change --ignore-whitespace $GITHUB_WORKSPACE/server.patch + git -C build/web-apps apply -v --ignore-space-change --ignore-whitespace $GITHUB_WORKSPACE/web-apps.patch - name: Development setup run: | - 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 - cd tools/linux + mkdir -p build/build_tools/system_qt/gcc_64 + ln -s /usr/lib/x86_64-linux-gnu build/build_tools/system_qt/gcc_64/lib + ln -s /usr/lib/x86_64-linux-gnu/qt5/bin build/build_tools/system_qt/gcc_64/bin + ln -s /usr/lib/x86_64-linux-gnu/qt5/plugins build/build_tools/system_qt/gcc_64/plugins + cd build/build_tools/tools/linux python2 ./deps.py - name: Onlyoffice server build run: | - cd onlyoffice-document-server/build_tools + cd build/build_tools python2 ./configure.py --update 0 --module "server" --qt-dir $(pwd)/system_qt python2 ./make.py - name: Package upload uses: forgejo/upload-artifact@v3 with: name: documentserver - path: ./out/linux_64/onlyoffice/documentserver/* + path: build/build_tools/out/linux_64/onlyoffice/documentserver/*