Skip to content

Commit

Permalink
Test build RPM and check time
Browse files Browse the repository at this point in the history
  • Loading branch information
isboston committed Jan 29, 2025
1 parent 5bc4c1a commit a188df3
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/build_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,27 +173,31 @@ jobs:
tar -xf ./SOURCES/client.tar.gz --transform='s,^[^/]\+,client,' -C "$(pwd)/BUILD"
tar -xf ./SOURCES/server.tar.gz --transform='s,^[^/]\+,server,' -C "$(pwd)/BUILD"
tar -xf ./SOURCES/plugins.tar.gz --transform='s,^[^/]\+,plugins,' -C "$(pwd)/BUILD"
# cd "$(pwd)/BUILD/buildtools"
pwd
- name: Build frontend for RPM Packages
if: matrix.packageType == 'rpm'
run: |
bash $(pwd)/BUILD/buildtools/install/common/build-frontend.sh --srcpath "/home/runner/work/DocSpace-buildtools/DocSpace-buildtools/install/rpm/SPECS/BUILD" -di "false"
pwd
bash install/common/build-frontend.sh --srcpath "/home/runner/work/DocSpace-buildtools/DocSpace-buildtools/install/rpm/SPECS/BUILD" -di "false"
- name: Build backend for RPM Packages
if: matrix.packageType == 'rpm'
run: |
bash $(pwd)/BUILD/buildtools/install/common/build-backend.sh --srcpath "/home/runner/work/DocSpace-buildtools/DocSpace-buildtools/install/rpm/SPECS/BUILD"
bash install/common/build-backend.sh --srcpath "/home/runner/work/DocSpace-buildtools/DocSpace-buildtools/install/rpm/SPECS/BUILD"
- name: Build publish backend for RPM Packages
if: matrix.packageType == 'rpm'
run: |
bash $(pwd)/BUILD/buildtools/install/common/publish-backend.sh --srcpath "/home/runner/work/DocSpace-buildtools/DocSpace-buildtools/install/rpm/SPECS/BUILD/server"
bash install/common/publish-backend.sh --srcpath "/home/runner/work/DocSpace-buildtools/DocSpace-buildtools/install/rpm/SPECS/BUILD/server"
- name: Build RPM Packages
if: matrix.packageType == 'rpm'
run: |
pwd
cd install/rpm/SPECS
pwd
sed -i \
-e '/bash install\/common\/build-frontend\.sh --srcpath %{_builddir} -di "false"/d' \
-e '/bash install\/common\/build-backend\.sh --srcpath %{_builddir}/d' \
Expand Down

0 comments on commit a188df3

Please sign in to comment.