-
-
Notifications
You must be signed in to change notification settings - Fork 89
GH Action: Add steps to test against libxml >= 2.12 #798
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
Changes from 2 commits
3310914
bcc81fc
ceb01eb
b54082e
e25ee62
be3c27f
19bf218
0ce96c6
ad85bfa
1d715e3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,6 +51,9 @@ jobs: | |
# Keys: | ||
# - custom_ini: Whether to run with specific custom ini settings to hit very specific | ||
# code conditions. | ||
|
||
# Don't cancel in-progress matrix jobs | ||
fail-fast: false | ||
matrix: | ||
os: ['ubuntu-latest', 'windows-latest'] | ||
php: ['5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5'] | ||
|
@@ -93,6 +96,20 @@ jobs: | |
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
# A temporary solution | ||
asispts marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
- name: Install libxml2 >= 2.12 (PHP 8.1+ on linux only) | ||
if: ${{ matrix.os == 'ubuntu-latest' && contains(fromJSON('["8.1", "8.2", "8.3"]'), matrix.php) }} | ||
|
||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y wget build-essential | ||
wget https://download.gnome.org/sources/libxml2/2.12/libxml2-2.12.9.tar.xz | ||
tar -xf libxml2-2.12.9.tar.xz | ||
cd libxml2-2.12.9 | ||
asispts marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
./configure --prefix=/usr/local | ||
make | ||
sudo make install | ||
sudo ldconfig | ||
|
||
- name: Setup ini config | ||
id: set_ini | ||
shell: bash | ||
|
Uh oh!
There was an error while loading. Please reload this page.