Browse Source

Use appimagetool continuous build

Valentin Niess 7 months ago
parent
commit
0376d42eca

+ 1 - 3
.github/workflows/appimage.yml

@@ -23,9 +23,7 @@ jobs:
     - uses: actions/checkout@v4
 
     - name: Install Dependencies
-      run: |
-        sudo apt install -y desktop-file-utils
-        pip install PyGithub requests
+      run: pip install PyGithub requests
 
     - name: Run updater
       run: |

+ 4 - 5
.github/workflows/applications.yml

@@ -33,9 +33,7 @@ jobs:
         python-version: ${{ matrix.version }}
 
     - name: Install Dependencies
-      run: |
-        sudo apt install -y desktop-file-utils
-        pip install requests
+      run: pip install requests
 
     - name: Test scipy
       if: ${{ inputs.scipy }}
@@ -62,8 +60,9 @@ jobs:
         ./xonsh-x86_64.AppImage -c 'import xonsh'
 
     - name: Test ssh-mitm
-      if: ${{ inputs.ssh_mitm && (matrix.version == '3.9') }}
+      if: ${{ inputs.ssh-mitm }}
       run: |
-        python -m python_appimage build app applications/ssh-mitm
+        python -m python_appimage build app applications/ssh-mitm              \
+                                            --python-version=3.11
         test -e ssh-mitm-x86_64.AppImage
         ./ssh-mitm-x86_64.AppImage --help

+ 1 - 3
.github/workflows/pypi.yml

@@ -22,9 +22,7 @@ jobs:
         python-version: ${{ matrix.version }}
 
     - name: Install Dependencies
-      run: |
-        sudo apt install -y desktop-file-utils
-        pip install requests
+      run: pip install requests
 
     - name: Test local builder
       run: |

+ 1 - 1
python_appimage/utils/deps.py

@@ -20,7 +20,7 @@ PREFIX = os.path.abspath(os.path.dirname(__file__) + '/..')
 APPIMAGETOOL_DIR = os.path.join(CACHE_DIR, 'bin')
 '''Location of the appimagetool binary'''
 
-APPIMAGETOOL_VERSION = '1.9.0'
+APPIMAGETOOL_VERSION = 'continuous'
 '''Version of the appimagetool binary'''
 
 EXCLUDELIST = os.path.join(CACHE_DIR, 'share/excludelist')