debian: update qt5 modules #206
This file contains hidden or 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
| --- | |
| name: Run ansible-playbook | |
| # | |
| # This workflow tests that ansible can successfully run | |
| # on linux and macOS-homebrew (macos ansible with | |
| # macports is extremely slow to install and run ansible, | |
| # and freebsd running in a macos vm is extremely | |
| # fragile, so we defer to the full build workflow for | |
| # macos). As most churn in this repo tends to happen in | |
| # the linux and macOS homebrew ecosystems this provides | |
| # a quick check for the most common cases. | |
| # | |
| # The containers are selected to be from the set of | |
| # linux distributions and versions that are currently | |
| # among the list (or will soon be for beta/rc) of the | |
| # supported variants for ansible. | |
| # | |
| # Typically this takes less than 10 minutes to run. | |
| # | |
| on: # yamllint disable-line rule:truthy | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| ansible-linux: | |
| name: Running ansible-playbook on ${{ matrix.container.desc }} | |
| runs-on: ubuntu-latest | |
| env: | |
| TZ: Etc/UTC | |
| strategy: | |
| matrix: | |
| container: | |
| # Ubuntu group | |
| - desc: 'Ubuntu 22.04 LTS (Jammy Jellyfish)' | |
| image: 'ubuntu:22.04' | |
| ansibleopts: '--limit localhost' | |
| - desc: 'Ubuntu 24.04 (Noble Numbat)' | |
| image: 'ubuntu:24.04' | |
| ansibleopts: '--limit localhost' | |
| # Debian group | |
| - desc: 'Debian 11 (Bullseye)' | |
| image: 'debian:bullseye' | |
| ansibleopts: '--limit localhost' | |
| - desc: 'Debian 12 (Bookworm)' | |
| image: 'debian:bookworm' | |
| ansibleopts: '--limit localhost' | |
| # Fedora group | |
| - desc: 'Fedora 39' | |
| image: 'quay.io/fedora/fedora:39' | |
| ansibleopts: '--limit localhost' | |
| - desc: 'Fedora 40' | |
| image: 'quay.io/fedora/fedora:40' | |
| ansibleopts: '--limit localhost' | |
| - desc: 'Fedora 41' | |
| image: 'quay.io/fedora/fedora:41' | |
| ansibleopts: '--limit localhost' | |
| - desc: 'Fedora Rawhide' | |
| image: 'quay.io/fedora/fedora:rawhide' | |
| ansibleopts: '--limit localhost' | |
| # CentOS group | |
| - desc: 'CentOS 9 Stream' | |
| image: 'quay.io/centos/centos:stream9' | |
| ansibleopts: '--limit localhost' | |
| # Rocky Linux group | |
| - desc: 'Rocky Linux 8' | |
| image: 'rockylinux:8' | |
| ansibleopts: '--limit localhost' | |
| - desc: 'Rocky Linux 9' | |
| image: 'rockylinux:9' | |
| ansibleopts: '--limit localhost' | |
| # openSUSE group | |
| - desc: 'openSUSE Tumbleweed' | |
| image: 'opensuse/tumbleweed:latest' | |
| ansibleopts: '--limit localhost' | |
| - desc: 'openSUSE Leap' | |
| image: 'opensuse/leap:latest' | |
| ansibleopts: '--limit localhost' | |
| # Arch Linux group | |
| - desc: 'Arch Linux' | |
| image: 'archlinux:latest' | |
| ansibleopts: '--limit localhost' | |
| fail-fast: false | |
| container: | |
| image: ${{ matrix.container.image }} | |
| steps: | |
| - name: Detect OS release | |
| run: | | |
| . /etc/os-release | |
| echo "OS_RELEASE_ID=$ID" >> $GITHUB_ENV | |
| echo "OS_RELEASE_VERSION=$VERSION_ID" >> $GITHUB_ENV | |
| echo "OS_RELEASE_VERSION_MAJOR=${VERSION_ID%%.*}" >> $GITHUB_ENV | |
| echo "OS_RELEASE_VERSION_CODENAME=$VERSION_CODENAME" >> $GITHUB_ENV | |
| - name: Debian OS obtain codename for prerelease vesions | |
| run: echo "OS_RELEASE_VERSION_CODENAME=`dpkg --status tzdata | grep 'Provides' | cut -f2 -d'-'`" >> $GITHUB_ENV | |
| if: env.OS_RELEASE_ID == 'debian' && env.OS_RELEASE_VERSION_CODENAME == '' | |
| - name: Debian/Ubuntu OS update | |
| env: | |
| DEBIAN_FRONTEND: noninteractive | |
| run: | | |
| apt update -y | |
| apt upgrade -y | |
| if: env.OS_RELEASE_ID == 'debian' || env.OS_RELEASE_ID == 'ubuntu' | |
| - name: Debian/Ubuntu OS install ansible | |
| env: | |
| DEBIAN_FRONTEND: noninteractive | |
| run: apt install ansible apt-utils -y | |
| if: env.OS_RELEASE_ID == 'debian' || env.OS_RELEASE_ID == 'ubuntu' | |
| - name: Redhat OS - add EPEL repo for EL linux (for ansible) | |
| run: dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-${{ env.OS_RELEASE_VERSION_MAJOR }}.noarch.rpm | |
| if: env.OS_RELEASE_ID == 'centos' || env.OS_RELEASE_ID == 'rocky' | |
| - name: Redhat/Fedora OS update | |
| run: dnf upgrade -y | |
| if: env.OS_RELEASE_ID == 'fedora' || env.OS_RELEASE_ID == 'centos' || env.OS_RELEASE_ID == 'rocky' | |
| - name: Redhat/Fedora OS install ansible | |
| run: dnf install ansible dnf-plugins-core -y | |
| if: env.OS_RELEASE_ID == 'fedora' || env.OS_RELEASE_ID == 'centos' || env.OS_RELEASE_ID == 'rocky' | |
| - name: OpenSUSE OS update | |
| run: zypper update -y | |
| if: env.OS_RELEASE_ID == 'opensuse-leap' || env.OS_RELEASE_ID == 'opensuse-tumbleweed' | |
| - name: OpenSUSE OS install ansible | |
| run: zypper install -y ansible tar gzip | |
| if: env.OS_RELEASE_ID == 'opensuse-leap' || env.OS_RELEASE_ID == 'opensuse-tumbleweed' | |
| - name: ArchLinux OS update | |
| run: pacman --noconfirm -Syu | |
| if: env.OS_RELEASE_ID == 'arch' | |
| - name: ArchLinux OS install ansible | |
| run: pacman --noconfirm -Sy ansible | |
| if: env.OS_RELEASE_ID == 'arch' | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| path: ansible | |
| - name: Run ansible to install build requirements | |
| working-directory: ansible | |
| run: ansible-playbook ${{ matrix.container.ansibleopts }} mythtv.yml | |
| ansible-macos: | |
| name: Running ansible-playbook on ${{ matrix.os.desc }} | |
| strategy: | |
| matrix: | |
| os: | |
| - desc: 'macOS 15 (Sequoia) intel' | |
| runner: 'macos-15-intel' | |
| ansibleopts: '--limit localhost' | |
| ansibleoverides: 'ANSIBLE_BECOME=False ANSIBLE_BECOME_ASK_PASS=False' | |
| - desc: 'macOS 26 (Tahoe) arm64' | |
| runner: 'macos-26' | |
| ansibleopts: '--limit localhost' | |
| ansibleoverides: 'ANSIBLE_BECOME=False ANSIBLE_BECOME_ASK_PASS=False' | |
| fail-fast: false | |
| runs-on: ${{ matrix.os.runner }} | |
| steps: | |
| - name: Install Ansible and missing Python necessities | |
| run: | | |
| brew install ansible python-setuptools python-packaging | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| path: ansible | |
| - name: Run ansible to install build requirements | |
| working-directory: ansible | |
| run: ${{ matrix.os.ansibleoverides }} ansible-playbook ${{ matrix.os.ansibleopts }} mythtv.yml |