Skip to content

Commit

Permalink
Workflow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelsalawa committed Dec 1, 2024
1 parent c9fa124 commit 26cdd21
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/lin_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ jobs:
$([ ${{ inputs.use_ccache || false }} = false ] || echo "CONFIG+=ccache") \
CONFIG+=portable \
../../SQLiteStudio3
make -j 2
make -j 4
- name: Compile Plugins
working-directory: output/build/Plugins
Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:
cp -P ${{ env.QT_ROOT_DIR }}/lib/libQt6Network.so* lib/
cp -P ${{ env.QT_ROOT_DIR }}/lib/libQt6PrintSupport.so* lib/
cp -P ${{ env.QT_ROOT_DIR }}/lib/libQt6Qml.so* lib/
cp -P ${{ env.QT_ROOT_DIR }}/lib/libQt6WaylandClient.so* lib/
cp -P ${{ env.QT_ROOT_DIR }}/lib/libQt6Wayland*Client*.so* lib/
cp -P ${{ env.QT_ROOT_DIR }}/lib/libQt6Widgets.so* lib/
cp -P ${{ env.QT_ROOT_DIR }}/lib/libQt6Xml.so* lib/
cp -P ${{ env.QT_ROOT_DIR }}/lib/libQt6Svg.so* lib/
Expand Down Expand Up @@ -257,8 +257,7 @@ jobs:
working-directory: ${{ env.PORTABLE_DIR }}
run: |
set -x
QT6_PLUGINS=tls/*.so
chrpath -k -r \$ORIGIN/../lib platforms/*.so imageformats/*.so iconengines/*.so printsupport/*.so platformthemes/*.so plugins/*.so wayland-*/*.so 2>&1 >/dev/null
chrpath -k -r \$ORIGIN/../lib platforms/*.so imageformats/*.so iconengines/*.so printsupport/*.so platformthemes/*.so plugins/*.so wayland-*/*.so tls/*.so 2>&1 >/dev/null
chrpath -k -r \$ORIGIN lib/libicu*.*.*
chrpath -k -r \$ORIGIN lib/libcoreSQLiteStudio.so lib/libguiSQLiteStudio.so 2>&1 >/dev/null
chrpath -k -r \$ORIGIN/lib sqlitestudio 2>&1 >/dev/null
Expand All @@ -280,7 +279,7 @@ jobs:
run: |
cp `ldd sqlitestudiocli | grep readline | awk '{print $3}'` lib/
cp `ldd lib/libreadline* | grep tinfo | awk '{print $3}'` lib/
strip lib/*.so sqlitestudio sqlitestudiocli platforms/*.so imageformats/*.so iconengines/*.so printsupport/*.so platformthemes/*.so plugins/*.so
strip lib/*.so sqlitestudio sqlitestudiocli platforms/*.so imageformats/*.so iconengines/*.so printsupport/*.so platformthemes/*.so plugins/*.so tls/*.so
# These may have no initial rpath/runpath so chrpath does not work on them
patchelf --set-rpath '$ORIGIN' \
lib/libQt6Core.so.*.*.* \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/win64_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ jobs:
CONFIG+=portable \
"QMAKE_CXX=${{ env.GXX_COMMAND }}" \
../../SQLiteStudio3
${{ env.MINGW_MAKE }} -j 2
${{ env.MINGW_MAKE }} -j 4
- name: Compile Plugins
working-directory: output/build/Plugins
Expand Down

0 comments on commit 26cdd21

Please sign in to comment.