Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoiast committed May 30, 2024
1 parent c1e142c commit 52d0e17
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
matrix:
config:
- {
name: "Windows 2022 MSVC",
name: "Windows MSVC",
build_dir: "windows-msvc",
os: windows-2022,
build_type: "Release",
Expand All @@ -35,7 +35,7 @@ jobs:
# generators: "Ninja"
# }
- {
name: "Windows 2022 - Clang 16",
name: "Windows Clang 16",
build_dir: "windows-clang",
os: windows-2022,
build_type: "Release",
Expand All @@ -44,7 +44,7 @@ jobs:
generators: "Ninja",
}
- {
name: "Ubuntu 22.04 GCC (*)",
name: "Ubuntu GCC",
build_dir: "ubuntu-gcc",
os: ubuntu-22.04,
build_type: "Release",
Expand Down Expand Up @@ -95,19 +95,18 @@ jobs:
working-directory: ${{ github.workspace }}
id: runcmakeinstall
run: |
cmake --install "build/${{ matrix.config.build_dir }}" --prefix="dist/${{ matrix.config.build }}/usr"
cmake --install "build/${{ matrix.config.build_dir }}" --prefix="dist/${{ matrix.config.build_dir }}/usr"
- name: Create AppImage
if: matrix.config.os == 'ubuntu-22.04' && matrix.config.cc == 'gcc'
run: |
find . || true
export LD_LIBRARY_PATH=dist/${{ matrix.config.build }}/usr/lib:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=dist/${{ matrix.config.build_dir }}/usr/lib:$LD_LIBRARY_PATH
export OUTPUT=build/qtedit4-qt671-x86_64.AppImage
sudo apt install fuse libxkbcommon-x11-0 libxcb-cursor-dev libxkbcommon-dev
wget --no-verbose "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage"
wget --no-verbose "https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage"
chmod +x linuxdeploy*.AppImage
./linuxdeploy-x86_64.AppImage --appdir "dist/${{ matrix.config.build }}" --plugin qt --output appimage
./linuxdeploy-x86_64.AppImage --appdir "dist/${{ matrix.config.build_dir }}" --plugin qt --output appimage
- name: Upload AppImage
if: matrix.config.os == 'ubuntu-22.04' && matrix.config.cc == 'gcc'
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 52d0e17

Please sign in to comment.