Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH Action: Add steps to test against libxml >= 2.12 #798

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,19 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

# This is a temporary solution.
# Once ubuntu-latest includes libxml2 >= v2.12.0, this and the following steps can be removed.
- name: Install homebrew
if: ${{ matrix.os == 'ubuntu-latest' && matrix.php == '8.4' }}
run: |
export HOMEBREW_NO_ANALYTICS=1
echo "/home/linuxbrew/.linuxbrew/bin" >> "$GITHUB_PATH"
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- name: Install latest libxml2 on PHP 8.4 (linux only)
if: ${{ matrix.os == 'ubuntu-latest' && matrix.php == '8.4' }}
run: |
brew install libxml2
asispts marked this conversation as resolved.
Show resolved Hide resolved

- name: Setup ini config
id: set_ini
shell: bash
Expand Down