mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-04-17 18:01:28 +03:00
Bundle smartctl
GNU GPLv2
This commit is contained in:
6
.github/workflows/build.yaml
vendored
6
.github/workflows/build.yaml
vendored
@@ -28,11 +28,11 @@ jobs:
|
|||||||
- name: Install dependencies for glibc
|
- name: Install dependencies for glibc
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y qt6-base-dev libgl1-mesa-dev libxkbcommon-dev libvulkan-dev qmake6
|
sudo apt install -y qt6-base-dev libgl1-mesa-dev libxkbcommon-dev libvulkan-dev qmake6 smartmontools
|
||||||
if: ${{ matrix.clib == 'glibc' }}
|
if: ${{ matrix.clib == 'glibc' }}
|
||||||
- name: Install dependencies for musl
|
- name: Install dependencies for musl
|
||||||
run: |
|
run: |
|
||||||
apk add git cmake make gcc g++ curl gcompat qt6-qtbase-dev qt6-qtbase-x11
|
apk add git cmake make gcc g++ curl gcompat qt6-qtbase-dev qt6-qtbase-x11 smartmontools
|
||||||
git config --global --add safe.directory '*'
|
git config --global --add safe.directory '*'
|
||||||
if: ${{ matrix.clib == 'musl' }}
|
if: ${{ matrix.clib == 'musl' }}
|
||||||
|
|
||||||
@@ -50,10 +50,12 @@ jobs:
|
|||||||
|
|
||||||
mkdir -p AppDir/usr/bin
|
mkdir -p AppDir/usr/bin
|
||||||
cp build/KDiskInfo AppDir/usr/bin/
|
cp build/KDiskInfo AppDir/usr/bin/
|
||||||
|
cp /usr/sbin/smartctl AppDir/usr/bin/
|
||||||
cp .github/scripts/KDiskInfo.desktop AppDir/
|
cp .github/scripts/KDiskInfo.desktop AppDir/
|
||||||
cp icon.svg AppDir/KDiskInfo.svg
|
cp icon.svg AppDir/KDiskInfo.svg
|
||||||
|
|
||||||
APPIMAGE_EXTRACT_AND_RUN=1 NO_STRIP=1 QMAKE=/usr/bin/qmake6 ARCH=x86_64 ./linuxdeploy-static-x86_64.AppImage --appdir=AppDir/ -d AppDir/KDiskInfo.desktop -i AppDir/KDiskInfo.svg -e AppDir/usr/bin/KDiskInfo --plugin qt
|
APPIMAGE_EXTRACT_AND_RUN=1 NO_STRIP=1 QMAKE=/usr/bin/qmake6 ARCH=x86_64 ./linuxdeploy-static-x86_64.AppImage --appdir=AppDir/ -d AppDir/KDiskInfo.desktop -i AppDir/KDiskInfo.svg -e AppDir/usr/bin/KDiskInfo --plugin qt
|
||||||
|
echo 'export PATH="$this_dir"/usr/bin:"$PATH"' >> AppDir/apprun-hooks/linuxdeploy-plugin-qt-hook.sh
|
||||||
APPIMAGE_EXTRACT_AND_RUN=1 VERSION=${{ matrix.clib }} QMAKE=/usr/bin/qmake6 ARCH=x86_64 ./appimagetool-static.AppImage AppDir/
|
APPIMAGE_EXTRACT_AND_RUN=1 VERSION=${{ matrix.clib }} QMAKE=/usr/bin/qmake6 ARCH=x86_64 ./appimagetool-static.AppImage AppDir/
|
||||||
|
|
||||||
- name: Upload AppImage
|
- name: Upload AppImage
|
||||||
|
|||||||
Reference in New Issue
Block a user