diff --git a/.github/workflows/fedora:37.yml b/.github/workflows/fedora:37.yml new file mode 100644 index 0000000..24726de --- /dev/null +++ b/.github/workflows/fedora:37.yml @@ -0,0 +1,1455 @@ +name: fedora:37 + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +on: + push: + branches: + - "*" + schedule: + - cron: "0 1 * * *" + workflow_dispatch: {} + +jobs: + elementary-desktop: + runs-on: ubuntu-latest + name: elementary/desktop + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/desktop 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/desktop + + + elementary-appcenter: + runs-on: ubuntu-latest + name: elementary/appcenter + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/appcenter 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/appcenter + + elementary-applications-menu: + runs-on: ubuntu-latest + name: elementary/applications-menu + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/applications-menu 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/applications-menu + + elementary-calendar: + runs-on: ubuntu-latest + name: elementary/calendar + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/calendar 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/calendar + + elementary-code: + runs-on: ubuntu-latest + name: elementary/code + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/code 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/code + + elementary-contractor: + runs-on: ubuntu-latest + name: elementary/contractor + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/contractor 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/contractor + + elementary-files: + runs-on: ubuntu-latest + name: elementary/files + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/files 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/files + + elementary-gala: + runs-on: ubuntu-latest + name: elementary/gala + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/gala 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/gala + + elementary-granite: + runs-on: ubuntu-latest + name: elementary/granite + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/granite 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/granite + + elementary-greeter: + runs-on: ubuntu-latest + name: elementary/greeter + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/greeter 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/greeter + + elementary-icons: + runs-on: ubuntu-latest + name: elementary/icons + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/icons 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/icons + + elementary-initial-setup: + runs-on: ubuntu-latest + name: elementary/initial-setup + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/initial-setup 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/initial-setup + + elementary-mail: + runs-on: ubuntu-latest + name: elementary/mail + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/mail 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/mail + + elementary-notifications: + runs-on: ubuntu-latest + name: elementary/notifications + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/notifications 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/notifications + + elementary-onboarding: + runs-on: ubuntu-latest + name: elementary/onboarding + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/onboarding 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/onboarding + + elementary-pantheon-agent-geoclue2: + runs-on: ubuntu-latest + name: elementary/pantheon-agent-geoclue2 + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/pantheon-agent-geoclue2 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/pantheon-agent-geoclue2 + + elementary-pantheon-agent-polkit: + runs-on: ubuntu-latest + name: elementary/pantheon-agent-polkit + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/pantheon-agent-polkit 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/pantheon-agent-polkit + + elementary-photos: + runs-on: ubuntu-latest + name: elementary/photos + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/photos 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/photos + + elementary-portals: + runs-on: ubuntu-latest + name: elementary/portals + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/portals 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/portals + + elementary-print: + runs-on: ubuntu-latest + name: elementary/print + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/print 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/print + + elementary-session-settings: + runs-on: ubuntu-latest + name: elementary/session-settings + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/session-settings 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/session-settings + + elementary-settings-daemon: + runs-on: ubuntu-latest + name: elementary/settings-daemon + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/settings-daemon 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/settings-daemon + + elementary-shortcut-overlay: + runs-on: ubuntu-latest + name: elementary/shortcut-overlay + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/shortcut-overlay 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/shortcut-overlay + + elementary-sideload: + runs-on: ubuntu-latest + name: elementary/sideload + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/sideload 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/sideload + + elementary-sound-theme: + runs-on: ubuntu-latest + name: elementary/sound-theme + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/sound-theme 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/sound-theme + + elementary-stylesheet: + runs-on: ubuntu-latest + name: elementary/stylesheet + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/stylesheet 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/stylesheet + + elementary-switchboard: + runs-on: ubuntu-latest + name: elementary/switchboard + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/switchboard 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/switchboard + + elementary-switchboard-plug-a11y: + runs-on: ubuntu-latest + name: elementary/switchboard-plug-a11y + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/switchboard-plug-a11y 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/switchboard-plug-a11y + + elementary-switchboard-plug-about: + runs-on: ubuntu-latest + name: elementary/switchboard-plug-about + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/switchboard-plug-about 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/switchboard-plug-about + + elementary-switchboard-plug-applications: + runs-on: ubuntu-latest + name: elementary/switchboard-plug-applications + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/switchboard-plug-applications 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/switchboard-plug-applications + + elementary-switchboard-plug-bluetooth: + runs-on: ubuntu-latest + name: elementary/switchboard-plug-bluetooth + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/switchboard-plug-bluetooth 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/switchboard-plug-bluetooth + + elementary-switchboard-plug-datetime: + runs-on: ubuntu-latest + name: elementary/switchboard-plug-datetime + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/switchboard-plug-datetime 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/switchboard-plug-datetime + + elementary-switchboard-plug-display: + runs-on: ubuntu-latest + name: elementary/switchboard-plug-display + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/switchboard-plug-display 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/switchboard-plug-display + + elementary-switchboard-plug-keyboard: + runs-on: ubuntu-latest + name: elementary/switchboard-plug-keyboard + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/switchboard-plug-keyboard 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/switchboard-plug-keyboard + + elementary-switchboard-plug-locale: + runs-on: ubuntu-latest + name: elementary/switchboard-plug-locale + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/switchboard-plug-locale 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/switchboard-plug-locale + + elementary-switchboard-plug-mouse-touchpad: + runs-on: ubuntu-latest + name: elementary/switchboard-plug-mouse-touchpad + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/switchboard-plug-mouse-touchpad 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/switchboard-plug-mouse-touchpad + + elementary-switchboard-plug-network: + runs-on: ubuntu-latest + name: elementary/switchboard-plug-network + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/switchboard-plug-network 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/switchboard-plug-network + + elementary-switchboard-plug-notifications: + runs-on: ubuntu-latest + name: elementary/switchboard-plug-notifications + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/switchboard-plug-notifications 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/switchboard-plug-notifications + + elementary-switchboard-plug-onlineaccounts: + runs-on: ubuntu-latest + name: elementary/switchboard-plug-onlineaccounts + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/switchboard-plug-onlineaccounts 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/switchboard-plug-onlineaccounts + + elementary-switchboard-plug-pantheon-shell: + runs-on: ubuntu-latest + name: elementary/switchboard-plug-pantheon-shell + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/switchboard-plug-pantheon-shell 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/switchboard-plug-pantheon-shell + + elementary-switchboard-plug-power: + runs-on: ubuntu-latest + name: elementary/switchboard-plug-power + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/switchboard-plug-power 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/switchboard-plug-power + + elementary-switchboard-plug-printers: + runs-on: ubuntu-latest + name: elementary/switchboard-plug-printers + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/switchboard-plug-printers 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/switchboard-plug-printers + + elementary-switchboard-plug-security-privacy: + runs-on: ubuntu-latest + name: elementary/switchboard-plug-security-privacy + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/switchboard-plug-security-privacy 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/switchboard-plug-security-privacy + + elementary-switchboard-plug-sharing: + runs-on: ubuntu-latest + name: elementary/switchboard-plug-sharing + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/switchboard-plug-sharing 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/switchboard-plug-sharing + + elementary-switchboard-plug-sound: + runs-on: ubuntu-latest + name: elementary/switchboard-plug-sound + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/switchboard-plug-sound 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/switchboard-plug-sound + + elementary-switchboard-plug-useraccounts: + runs-on: ubuntu-latest + name: elementary/switchboard-plug-useraccounts + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/switchboard-plug-useraccounts 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/switchboard-plug-useraccounts + + elementary-switchboard-plug-wacom: + runs-on: ubuntu-latest + name: elementary/switchboard-plug-wacom + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/switchboard-plug-wacom 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/switchboard-plug-wacom + + elementary-terminal: + runs-on: ubuntu-latest + name: elementary/terminal + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/terminal 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/terminal + + elementary-wallpapers: + runs-on: ubuntu-latest + name: elementary/wallpapers + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/wallpapers 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/wallpapers + + elementary-wingpanel: + runs-on: ubuntu-latest + name: elementary/wingpanel + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/wingpanel 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/wingpanel + + elementary-wingpanel-indicator-a11y: + runs-on: ubuntu-latest + name: elementary/wingpanel-indicator-a11y + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/wingpanel-indicator-a11y 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/wingpanel-indicator-a11y + + elementary-wingpanel-indicator-bluetooth: + runs-on: ubuntu-latest + name: elementary/wingpanel-indicator-bluetooth + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/wingpanel-indicator-bluetooth 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/wingpanel-indicator-bluetooth + + elementary-wingpanel-indicator-datetime: + runs-on: ubuntu-latest + name: elementary/wingpanel-indicator-datetime + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/wingpanel-indicator-datetime 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/wingpanel-indicator-datetime + + elementary-wingpanel-indicator-keyboard: + runs-on: ubuntu-latest + name: elementary/wingpanel-indicator-keyboard + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/wingpanel-indicator-keyboard 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/wingpanel-indicator-keyboard + + elementary-wingpanel-indicator-network: + runs-on: ubuntu-latest + name: elementary/wingpanel-indicator-network + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/wingpanel-indicator-network 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/wingpanel-indicator-network + + elementary-wingpanel-indicator-nightlight: + runs-on: ubuntu-latest + name: elementary/wingpanel-indicator-nightlight + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/wingpanel-indicator-nightlight 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/wingpanel-indicator-nightlight + + elementary-wingpanel-indicator-notifications: + runs-on: ubuntu-latest + name: elementary/wingpanel-indicator-notifications + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/wingpanel-indicator-notifications 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/wingpanel-indicator-notifications + + elementary-wingpanel-indicator-power: + runs-on: ubuntu-latest + name: elementary/wingpanel-indicator-power + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/wingpanel-indicator-power 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/wingpanel-indicator-power + + elementary-wingpanel-indicator-session: + runs-on: ubuntu-latest + name: elementary/wingpanel-indicator-session + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/wingpanel-indicator-session 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/wingpanel-indicator-session + + elementary-wingpanel-indicator-sound: + runs-on: ubuntu-latest + name: elementary/wingpanel-indicator-sound + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/wingpanel-indicator-sound 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/wingpanel-indicator-sound diff --git a/README.md b/README.md index da6cbd5..caef73d 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ | Distribution | State | | ------------ | ----- | +| Fedora 37 | [![fedora:37](https://github.com/meisenzahl/distro-agnostic/actions/workflows/fedora:37.yml/badge.svg)](https://github.com/meisenzahl/distro-agnostic/actions/workflows/fedora:37.yml) | | Ubuntu latest LTS release | [![ubuntu:latest](https://github.com/meisenzahl/distro-agnostic/actions/workflows/ubuntu:latest.yml/badge.svg?branch=main)](https://github.com/meisenzahl/distro-agnostic/actions/workflows/ubuntu:latest.yml) | | Repository | Version | Recipe | diff --git a/data/.github/workflows/fedora:37.yml.jinja2 b/data/.github/workflows/fedora:37.yml.jinja2 new file mode 100644 index 0000000..af7ad5d --- /dev/null +++ b/data/.github/workflows/fedora:37.yml.jinja2 @@ -0,0 +1,64 @@ +name: fedora:37 + +concurrency: + group: {% raw %}${{ github.workflow }}-${{ github.ref }}{% endraw %} + cancel-in-progress: true + +on: + push: + branches: + - "*" + schedule: + - cron: "0 1 * * *" + workflow_dispatch: {} + +jobs: + elementary-desktop: + runs-on: ubuntu-latest + name: elementary/desktop + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build elementary/desktop 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package elementary/desktop + +{% for package in packages %} + {{ package | replace("/", "-") }}: + runs-on: ubuntu-latest + name: {{ package }} + + container: + image: fedora:37 + volumes: + - /proc:/proc + options: --privileged + + steps: + - name: Pull changes ⬇️ + uses: actions/checkout@v3 + + - name: Install dependencies ⬇️ + run: | + dnf install -y git python3-pyyaml + + - name: Build {{ package }} 🔨 + run: | + ./builder \ + --distro fedora:37 \ + --package {{ package }} +{% endfor -%} diff --git a/data/README.md.jinja2 b/data/README.md.jinja2 index fb3a361..626041c 100644 --- a/data/README.md.jinja2 +++ b/data/README.md.jinja2 @@ -2,9 +2,8 @@ | Distribution | State | | ------------ | ----- | +| Fedora 37 | [![fedora:37](https://github.com/meisenzahl/distro-agnostic/actions/workflows/fedora:37.yml/badge.svg)](https://github.com/meisenzahl/distro-agnostic/actions/workflows/fedora:37.yml) | | Ubuntu latest LTS release | [![ubuntu:latest](https://github.com/meisenzahl/distro-agnostic/actions/workflows/ubuntu:latest.yml/badge.svg?branch=main)](https://github.com/meisenzahl/distro-agnostic/actions/workflows/ubuntu:latest.yml) | -| Ubuntu latest release (regardless of LTS status) | [![ubuntu:rolling](https://github.com/meisenzahl/distro-agnostic/actions/workflows/ubuntu:rolling.yml/badge.svg?branch=main)](https://github.com/meisenzahl/distro-agnostic/actions/workflows/ubuntu:rolling.yml) | -| Ubuntu next development release | [![ubuntu:devel](https://github.com/meisenzahl/distro-agnostic/actions/workflows/ubuntu:devel.yml/badge.svg?branch=main)](https://github.com/meisenzahl/distro-agnostic/actions/workflows/ubuntu:devel.yml) | | Repository | Version | Recipe | | ---------- | ------- | ------ | diff --git a/data/update b/data/update index 9e19bc9..334713b 100755 --- a/data/update +++ b/data/update @@ -128,12 +128,18 @@ def update_workflows(packages): context["packages"].sort() - template_text = open(os.path.join("data", ".github", "workflows", "ubuntu:22.04.yml.jinja2"), "r").read() - template = jinja2.Template(template_text) - text = template.render(context) + template_dir = os.path.join("data", ".github", "workflows") + for filename in os.listdir(template_dir): + path = os.path.join(template_dir, filename) + if not os.path.isfile(path): + continue - f = open(os.path.join(".github", "workflows", "ubuntu:22.04.yml"), "w") - f.write(text) + template_text = open(path, "r").read() + template = jinja2.Template(template_text) + text = template.render(context) + + f = open(path.split("data/")[-1].replace(".jinja2", ""), "w") + f.write(text) def main(args): diff --git a/distros/fedora.yml b/distros/fedora.yml new file mode 100644 index 0000000..d5d61ab --- /dev/null +++ b/distros/fedora.yml @@ -0,0 +1,118 @@ +name: fedora +package-manager: dnf +packages: + appstream: appstream + bc: bc + desktop-file-utils: desktop-file-utils + exuberant-ctags: "" # TODO: confirm that this is not needed + gettext: gettext + gnome-common: gnome-common + gnome-keyring: gnome-keyring + gnome-settings-daemon: gnome-settings-daemon + gnome-settings-daemon-dev: gnome-settings-daemon-devel + gobject-introspection: gobject-introspection + gsettings-desktop-schemas-dev: gsettings-desktop-schemas-devel + libaccounts-glib-dev: libaccounts-glib-devel + libaccountsservice-dev: accountsservice-devel + libadwaita-1-dev: libadwaita-devel + libappstream-dev: appstream-devel + libappstream-glib8: libappstream-glib + libbamf3-dev: bamf-devel + libcamel1.2-dev: evolution-data-server-devel + libcanberra-dev: libcanberra-devel + libcanberra-gtk3-dev: libcanberra-gtk3 + libchamplain-0.12-dev: libchamplain-devel + libchamplain-gtk-0.12-dev: libchamplain-devel + libcloudproviders-dev: libcloudproviders-devel + libclutter-1.0-dev: clutter-devel + libcups2-dev: cups-devel + libdbus-1-dev: dbus-devel + libdbus-glib-1-dev: dbus-glib-devel + libdistinst-dev: libdistinst-dev + libecal1.2-dev: evolution-data-server-devel + libecal2.0-dev: evolution-data-server-devel + libedataserver1.2-dev: evolution-data-server-devel + libedataserverui1.2-dev: evolution-data-server-devel + libeditorconfig-dev: editorconfig-devel + libexif-dev: libexif-devel + libflatpak-dev: flatpak-devel + libfolks-dev: folks-devel + libfwupd-dev: fwupd-devel + libgail-3-dev: "" # TODO: confirm that this is not needed + libgala-dev: elementary/gala + libgdk-pixbuf2.0-dev: gdk-pixbuf2-devel + libgee-0.8-dev: libgee-devel + libgeoclue-2-dev: geoclue2-devel + libgeocode-glib-dev: geocode-glib-devel + libgexiv2-dev: libgexiv2-devel + libgirepository1.0-dev: gobject-introspection + libgit2-glib-1.0-dev: libgit2-glib-devel + libglib2.0-dev: glib2-devel + libgnome-desktop-3-dev: gnome-desktop3-devel + libgnomekbd-dev: libgnomekbd-devel + libgphoto2-dev: libgphoto2-devel + libgranite-7-dev: elementary/granite + libgranite-dev: elementary/granite-6 + libgstreamer-plugins-base1.0-dev: gstreamer1-plugins-base-devel + libgstreamer1.0-dev: gstreamer1-devel + libgtk-3-dev: gtk3-devel + libgtk-4-dev: gtk4-devel + libgtksourceview-4-dev: gtksourceview4-devel + libgtkspell-3-dev: gtkspell3-devel + libgtkspell3-3-dev: gtkspell3-devel + libgtop2-dev: libgtop2-devel + libgudev-1.0-dev: libgudev-devel + libhandy-1-dev: libhandy-devel + libibus-1.0-dev: ibus-devel + libical-dev: libical-devel + libisocodes-dev: iso-codes-devel + libjson-glib-dev: json-glib-devel + liblightdm-gobject-1-dev: lightdm-gobject-devel + libmalcontent-0-dev: malcontent-devel + libmutter-dev: mutter-devel + libnm-dev: NetworkManager-libnm-devel + libnma-dev: libnma-devel + libnotify-dev: libnotify-devel + libpackagekit-glib2-dev: PackageKit-glib-devel + libpango1.0-dev: pango-devel + libpeas-dev: libpeas-devel + libplank-dev: plank-devel + libpolkit-agent-1-dev: polkit-devel + libpolkit-gobject-1-dev: polkit-devel + libpulse-dev: pulseaudio-libs-devel + libpwquality-dev: libpwquality-devel + libraw-dev: LibRaw-devel + librest-dev: rest0.7-devel + librsvg2-bin: librsvg2-tools + librsvg2-common: librsvg2 + libsignon-glib-dev: signon-glib-devel + libsoup2.4-dev: libsoup-devel + libsqlite3-dev: sqlite-devel + libswitchboard-2.0-dev: elementary/switchboard + libudev-dev: systemd-devel + libudisks2-dev: libudisks2-devel + libunity-dev: libunity-devel + libvala-dev: libvala-devel + libvte-2.91-dev: vte291-devel + libwacom-dev: libwacom-devel + libwebkit2gtk-4.0-dev: webkit2gtk4.0-devel + libwebp-dev: libwebp-devel + libwingpanel-dev: elementary/wingpanel + libx11-dev: libX11-devel + libxi-dev: libXi-devel + libxklavier-dev: libxklavier-devel + libxml2: libxml2 + libxml2-dev: libxml2-devel + libxml2-utils: libxml2 + libzeitgeist-2.0-dev: zeitgeist-devel + meson: meson + onboard: onboard + orca: orca + pkg-config: pkg-config + policykit-1: polkit + sassc: sassc + systemd: systemd + valac: vala + x11-apps: xcursorgen + xkb-data: xkeyboard-config-devel + xvfb: xorg-x11-server-Xvfb diff --git a/distros/ubuntu.yml b/distros/ubuntu.yml index 14067f1..3463611 100644 --- a/distros/ubuntu.yml +++ b/distros/ubuntu.yml @@ -16,6 +16,7 @@ packages: libaccountsservice-dev: libaccountsservice-dev libadwaita-1-dev: libadwaita-1-dev libappstream-dev: libappstream-dev + libappstream-glib8: libappstream-glib8 libbamf3-dev: libbamf3-dev libcamel1.2-dev: libcamel1.2-dev libcanberra-dev: libcanberra-dev @@ -64,6 +65,7 @@ packages: libhandy-1-dev: libhandy-1-dev libibus-1.0-dev: libibus-1.0-dev libical-dev: libical-dev + libisocodes-dev: libisocodes-dev libjson-glib-dev: libjson-glib-dev liblightdm-gobject-1-dev: liblightdm-gobject-1-dev libmalcontent-0-dev: libmalcontent-0-dev diff --git a/modules/distro.py b/modules/distro.py index b1b79dc..30776d2 100644 --- a/modules/distro.py +++ b/modules/distro.py @@ -58,7 +58,7 @@ def install_packages(self, packages): self._run_cmd(cmd) elif self._package_manager == "dnf": - cmd = "dnf install -y " + " ".join(packages) + cmd = "dnf --setopt=install_weak_deps=False --best install -y " + " ".join(packages) self._run_cmd(cmd) else: diff --git a/packages/elementary/code.yml b/packages/elementary/code.yml index 4762836..655c1c3 100644 --- a/packages/elementary/code.yml +++ b/packages/elementary/code.yml @@ -1,10 +1,10 @@ name: elementary/code buildsystem: meson dependencies: - - appstream - desktop-file-utils - exuberant-ctags - gettext + - libappstream-glib8 - libeditorconfig-dev - libgail-3-dev - libgee-0.8-dev @@ -16,6 +16,7 @@ dependencies: - libgtkspell3-3-dev - libhandy-1-dev - libpeas-dev + - libpolkit-gobject-1-dev - libsoup2.4-dev - libvala-dev - libvte-2.91-dev diff --git a/packages/elementary/initial-setup.yml b/packages/elementary/initial-setup.yml index e90aea9..9ef2d42 100644 --- a/packages/elementary/initial-setup.yml +++ b/packages/elementary/initial-setup.yml @@ -9,6 +9,7 @@ dependencies: - libgranite-dev - libgtk-3-dev - libhandy-1-dev + - libisocodes-dev - libjson-glib-dev - libpolkit-gobject-1-dev - libpwquality-dev @@ -16,6 +17,7 @@ dependencies: - libxml2-utils - meson - valac + - xkb-data sources: - type: git url: https://github.com/elementary/initial-setup diff --git a/packages/elementary/portals.yml b/packages/elementary/portals.yml index 3a7b016..e0ebe2b 100644 --- a/packages/elementary/portals.yml +++ b/packages/elementary/portals.yml @@ -4,6 +4,7 @@ dependencies: - libgranite-7-dev - libgtk-4-dev - meson + - systemd - valac sources: - type: git diff --git a/packages/elementary/sideload.yml b/packages/elementary/sideload.yml index a81a052..d2567a6 100644 --- a/packages/elementary/sideload.yml +++ b/packages/elementary/sideload.yml @@ -1,6 +1,7 @@ name: elementary/sideload buildsystem: meson dependencies: + - desktop-file-utils - libflatpak-dev - libgranite-7-dev - libgtk-4-dev diff --git a/packages/elementary/switchboard-plug-keyboard.yml b/packages/elementary/switchboard-plug-keyboard.yml index 84e84d0..65a2f61 100644 --- a/packages/elementary/switchboard-plug-keyboard.yml +++ b/packages/elementary/switchboard-plug-keyboard.yml @@ -12,6 +12,7 @@ dependencies: - libxml2-dev - meson - valac + - xkb-data sources: - type: git url: https://github.com/elementary/switchboard-plug-keyboard diff --git a/test/fedora:37.sh b/test/fedora:37.sh new file mode 100755 index 0000000..ef55f51 --- /dev/null +++ b/test/fedora:37.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +PACKAGE=$1 + +docker run \ + --pull=always \ + --tty \ + --interactive \ + --rm \ + --privileged \ + --volume /proc:/proc \ + --volume $PWD:/work \ + --workdir /work \ + fedora:37 \ + sh -c " + dnf install -y git python3-pyyaml && \ + ./builder \ + --distro fedora:37 \ + --package ${PACKAGE} + "