File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -56,19 +56,31 @@ matrix:
5656 dist : xenial
5757 env :
5858 - Build=linux64
59+ before_install :
60+ - mkdir -p download/
61+ - |
62+ getfile() {
63+ local url="$1"
64+ local base="$2"
65+ test -z "$base" && base="$(basename "$1")"
66+ test -f download/"$base" || wget -O download/"$base" "$url"
67+ }
68+ - getfile https://github.com/AppImage/AppImageKit/releases/download/12/appimagetool-x86_64.AppImage
69+ - getfile https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
70+ install :
71+ - sudo install -m 755 download/appimagetool-x86_64.AppImage /usr/bin/appimagetool
72+ - sudo install -m 755 download/linuxdeploy-x86_64.AppImage /usr/bin/linuxdeploy
5973 script :
6074 - mkdir -p build/
6175 - cd build
6276 - cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
6377 - make -j$(nproc)
6478 - cd ..
65- - mkdir -p download/
66- - wget -O {download/,https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/}linuxdeploy-x86_64.AppImage
67- - chmod +x download/linuxdeploy-x86_64.AppImage
6879 - make -C build install DESTDIR="$(pwd)/target"
69- - download/linuxdeploy-x86_64.AppImage --appdir="$(pwd)/target" --output=appimage
80+ - linuxdeploy --appdir="$(pwd)/target" --output=appimage
81+ - appimagetool "$(pwd)/target"
7082 - mkdir -p release/
71- - mv -vf *.AppImage release/
83+ - mv -f *.AppImage release/
7284 addons :
7385 apt :
7486 packages :
You can’t perform that action at this time.
0 commit comments