Skip to content

Commit

Permalink
fix(ci): don't fixup binaries on linux, we don't copy the qt binaries…
Browse files Browse the repository at this point in the history
… anymore
  • Loading branch information
craftablescience committed Jun 27, 2024
1 parent 7e697fa commit 3c1e20f
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
submodules: recursive

- name: Install Necessary Packages
run: sudo apt update && sudo apt install -y cmake build-essential ninja-build chrpath
run: sudo apt update && sudo apt install -y cmake build-essential ninja-build

- name: Install GCC [compiler:gcc]
if: ${{matrix.compiler == 'gcc'}}
Expand Down Expand Up @@ -104,20 +104,6 @@ jobs:
working-directory: '${{env.BUILD_DIR}}'
run: cmake --build . --config ${{matrix.build_type}} -t SDKLauncher -- -j$(nproc)

- name: Fixup Binaries
run: |
chmod +x '${{env.BUILD_DIR}}/SDKLauncher'
# runpath cleanup for the Qt binaries. These are (mostly) wrong, leading to crashes
for f in ${{env.BUILD_DIR}}/*.so*; do
echo "Fixing $f..."
chrpath -r '$ORIGIN' "$f"
done
for f in ${{env.BUILD_DIR}}/*/*.so*; do
echo "Fixing $f..."
chrpath -r '$ORIGIN/..' "$f"
done
- name: Upload SDK Launcher
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 3c1e20f

Please sign in to comment.