ubuntu 26.04 install check (#7288)

Adds Ubuntu 26.04 to the install checks. PHP comes from Sury's
repository there, since the PHP PPA has no 26.04 build.
This commit is contained in:
Robert Dennis
2026-10-14 01:06:01 -04:00
committed by GitHub
parent ba6ab9bfb3
commit 99038eca39
+5 -3
View File
@@ -75,6 +75,7 @@ jobs:
fail-fast: false
matrix:
os:
- ubuntu:26.04
- ubuntu:24.04
- ubuntu:22.04
- debian:13
@@ -87,14 +88,15 @@ jobs:
shell: bash
steps:
- name: Add repositories (Ubuntu)
if: startsWith(matrix.os, 'ubuntu')
if: startsWith(matrix.os, 'ubuntu') && matrix.os != 'ubuntu:26.04'
run: |
apt-get update
apt -y install software-properties-common curl
LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php
- name: Add repositories (Debian)
if: startsWith(matrix.os, 'debian')
# The PHP PPA has no Ubuntu 26.04 build, so it uses Sury's repository like Debian.
- name: Add repositories (Debian and Ubuntu 26.04)
if: startsWith(matrix.os, 'debian') || matrix.os == 'ubuntu:26.04'
run: |
apt-get update
apt -y install curl ca-certificates gnupg2 lsb-release