Ubuntu latest != ubuntu 20.04 #494
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
name: Build and Test on Ubuntu latest | |
on: | |
push: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
release: | |
types: [created] | |
jobs: | |
test_basic: | |
name: basic PHP ${{ matrix.php }} - I ${{ matrix.imagemagick }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest ] | |
php: [ 8.3 ] | |
imagemagick: [ | |
7.1.0-13, | |
6.8.7-0, | |
] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
- name: Apt install required packages | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y fonts-urw-base35 || true | |
sudo apt-get install -y libfreetype6-dev || true | |
sudo apt-get install -y texlive-fonts-recommended || true | |
- name: Debug what is wrong with the libraries | |
run: | | |
bash ./debug_github_action_failing.sh | |
test_all: | |
name: Full PHP ${{ matrix.php }} - I ${{ matrix.imagemagick }} | |
needs: test_basic | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ ubuntu-latest ] | |
php: [8.1, 8.0] | |
imagemagick: [ | |
7.1.0-13, | |
6.8.7-0, | |
] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.php }} | |
- name: Apt install required packages | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y fonts-urw-base35 || true | |
sudo apt-get install -y libfreetype6-dev || true | |
sudo apt-get install -y texlive-fonts-recommended || true | |
- name: Debug what is wrong with the libraries | |
run: | | |
bash ./debug_github_action_failing.sh | |