Skip to content

Commit

Permalink
create AppDir before recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
slspencer committed Aug 7, 2022
1 parent 82f7467 commit b4d8536
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 11 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-manual-prerelease-appimage-test-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ jobs:
sudo apt install -y build-essential gettext git qt5-default qttools5-dev libqt5svg5-dev libqt5xmlpatterns5-dev
sudo apt install -y '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev
# ---------------------------------
echo "-- create AppDir, will be erased & recreated in appimage-builder script ------"
sudo mkdir -p AppDir && pwd && ls -la
- name: build Seamly2D appimage
# uses parameters from appimage-builder-recipe.yml to build appimage
# Seamly2D-continuous-x86_64.AppImage
Expand Down
14 changes: 3 additions & 11 deletions dist/appimage-builder-recipe-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,11 @@ script:
- echo "=== BEGIN APPIMAGE RECIPE 'BEFORE' SCRIPT ==================================="
# get the neon public key into the keyring BEFORE getting the deb package in the next step
# ---------------------------------
- echo "=== register kde neon repository =========="
- sudo apt install -y debsig-verify
- echo 'deb http://archive.neon.kde.org/user focal main' | sudo tee /etc/apt/sources.list.d/neon.list
- sudo curl https://origin.archive.neon.kde.org/public.key -o - | sudo apt-key add -

- echo "=== begin AppImage script ========================="
- echo "=== recreate AppDir, pwd, & ls ========================="
# must clear & recreate AppDir directory so that it is completely empty
- sudo rm -rf AppDir || true
- sudo mkdir -p AppDir

# prove that we created an AppDir
- echo "=== pwd & list current directory =================="
- pwd && ls
- sudo mkdir -p AppDir && pwd && ls -la

- echo "=== build Seamly2D & SeamlyMe ====================="
- sudo qmake PREFIX=/usr Seamly2D.pro -r -d CONFIG+=no_ccache CONFIG+=noDebugSymbols && echo "=== END QMAKE ==================="
Expand Down Expand Up @@ -84,7 +76,7 @@ AppDir:
- sourceline: deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x3b4fe6acc0b21f32'
- sourceline: deb http://archive.neon.kde.org/user focal main
key_url: 'https://keyserver.ubuntu.com/pks/lookup?op=get&search="neon"'
# key_url: 'https://keyserver.ubuntu.com/pks/lookup?op=get&search="neon"'
# key_url: 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xDEACEA00075E1D76'

include:
Expand Down

0 comments on commit b4d8536

Please sign in to comment.