build(deps): bump urllib3 from 1.26.9 to 1.26.17 #333
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflows will upload a Python Package using Twine when a release is created | |
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries | |
name: Continuous Builds | |
on: | |
push: | |
branches: | |
- '**' | |
tags: | |
- '!**' | |
jobs: | |
pytest-ubuntu-focal: | |
runs-on: ubuntu-latest | |
container: ubuntu:22.04 | |
steps: | |
- name: Install dependencies | |
run: | | |
apt-get update | |
apt-get install -y python3.11 python3-pip python3-pytest fakeroot binutils patchelf git | |
- uses: actions/checkout@v3 | |
- name: Install appimage-builder | |
run: | | |
git config --global --add safe.directory $PWD | |
git fetch --prune --unshallow | |
python3 -m pip install -e .[dev] | |
- name: Run pytest | |
run: python3 -m unittest | |
pytest-archlinux: | |
runs-on: ubuntu-latest | |
container: archlinux | |
steps: | |
- name: Install dependencies | |
run: pacman -Syu --noconfirm python-pip python-pytest python-setuptools binutils patchelf fakeroot strace patchelf git | |
- uses: actions/checkout@v3 | |
- name: Install appimage-builder | |
run: | | |
git config --global --add safe.directory $PWD | |
git fetch --prune --unshallow | |
python3 -m pip install -e .[dev] | |
- name: Run pytest | |
run: python3 -m unittest | |
build: | |
runs-on: ubuntu-latest | |
needs: [ pytest-ubuntu-focal, pytest-archlinux ] | |
steps: | |
- name: Install dependencies | |
run: | | |
sudo apt install -y python3.11-minimal python3-pip python3-setuptools patchelf desktop-file-utils libgdk-pixbuf2.0-dev fakeroot strace git | |
sudo wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O /usr/local/bin/appimagetool | |
sudo chmod +x /usr/local/bin/appimagetool | |
- uses: actions/checkout@v3 | |
- name: Install appimage-builder | |
run: | | |
git config --global --add safe.directory $PWD | |
git fetch --prune --unshallow | |
sudo python3.11 -m pip install . | |
- name: Build AppImage | |
run: | | |
cd recipes/appimage-builder | |
export APPIMAGE_BUILDER_VERSION=$(appimage-builder --version | head -1 | cut -f 2 -d" ") | |
appimage-builder --skip-test | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v2.1.4 | |
with: | |
name: appimage-builder | |
path: 'recipes/appimage-builder/appimage-builder*.AppImage*' | |
test-pack-bash: | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Download AppImage from build job | |
uses: actions/download-artifact@v2 | |
with: | |
name: appimage-builder | |
- name: Install dependencies | |
run: | | |
sudo apt install -y adwaita-icon-theme | |
- name: Pack bash | |
run: | | |
# build bash | |
BUILDER_PATH=$(find $PWD -name appimage-builder-*.AppImage) | |
chmod +x "$BUILDER_PATH" | |
cd recipes/bash/ | |
"$BUILDER_PATH" --skip-test | |
- name: Test bash | |
run: | | |
recipes/bash/*.AppImage --appimage-extract-and-run -c "echo Hello World" | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v2.1.4 | |
with: | |
name: bash | |
path: 'recipes/bash/*.AppImage*' | |
publish: | |
runs-on: ubuntu-latest | |
needs: test-pack-bash | |
if: github.ref == 'refs/heads/main' | |
steps: | |
- name: Download AppImage from build job | |
uses: actions/download-artifact@v2 | |
with: | |
name: appimage-builder | |
- uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.GITHUB_TOKEN }}" | |
prerelease: true | |
automatic_release_tag: Continuous | |
files: 'appimage-builder*.AppImage*' |