Skip to content

Commit

Permalink
start with the app image task
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoiast committed May 30, 2024
1 parent ad2cc60 commit ffba538
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/appimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name: Create and Upload AppImage
on:
push:
branches: ["main", "new-feature-github-actions"]
# branches: ["main", "new-feature-github-actions"]

jobs:
create-appimage:
Expand All @@ -16,15 +16,15 @@ jobs:
- uses: lukka/get-cmake@latest
- name: Create AppImage (linux)
run: |
export LD_LIBRARY_PATH=${{ github.workspace }}/build/dist/usr/lib/:$LD_LIBRARY_PATH
export OUTPUT=${{ runner.workspace }}/build/qtedit4-qt671-x86_64.AppImage
export LD_LIBRARY_PATH=${{ github.workspace }}/dist/ubuntu-gcc/usr/lib/:$LD_LIBRARY_PATH
export OUTPUT=${{ github.workspace }}/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 ${{ github.workspace }}/build/dist/ --plugin qt --output appimage
./linuxdeploy-x86_64.AppImage --appdir ${{ github.workspace }}/build/ubuntu-gcc/dist/ --plugin qt --output appimage
working-directory: ${{ github.workspace }}/build/dist
- name: Upload AppImage
uses: actions/upload-artifact@v3
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,13 @@ jobs:
pwd
cmake --build "build/${{ matrix.config.build_dir }}" --parallel --verbose
find .
- name: install
- name: Install
working-directory: ${{ github.workspace }}
id: runcmakeinstall
run: |
cmake --install "build/${{ matrix.config.build_dir }}" --prefix="dist/${{ matrix.config.build }}/usr"
ls -l || true
ls -l dist
# find .
ls -l dist
find dist || true
# - name: Create AppImage (linux)
Expand Down

0 comments on commit ffba538

Please sign in to comment.