Skip to content

Commit

Permalink
Merge pull request #2563 from xrmx/jammy-ci-build
Browse files Browse the repository at this point in the history
ci: run compile test on ubuntu 22.04 too
  • Loading branch information
xrmx authored Oct 6, 2023
2 parents 71cb6be + 8f7178f commit 0e9eb9f
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/compile-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,31 @@ on:

jobs:
build:
strategy:
matrix:
include:
- os: ubuntu-20.04
php: "php7.4"
php-config: "php-config7.4"
- os: ubuntu-22.04
php: "php8.1"
php-config: "php-config8.1"

runs-on: ubuntu-20.04
runs-on: ${{ matrix.os }}

steps:
- name: remove sury php ppa that does not ship libphpX.Y-embed
run: |
sudo add-apt-repository --remove ppa:ondrej/php
sudo apt remove php7.4-dev php7.4 php7.4-common
sudo apt remove ${{ matrix.php }}-dev ${{ matrix.php }} ${{ matrix.php }}-common
- name: Install dependencies
run: |
sudo apt update -qq
sudo apt install --no-install-recommends -qqyf python3.8-dev \
sudo apt install --no-install-recommends -qqyf python3-dev \
libxml2-dev libpcre3-dev libcap2-dev \
libargon2-0-dev libsodium-dev \
php7.4-dev libphp7.4-embed \
liblua5.1-0-dev ruby2.7-dev \
${{ matrix.php }}-dev lib${{ matrix.php }}-embed \
liblua5.1-0-dev ruby-dev \
libjansson-dev libldap2-dev libpq-dev \
libpam0g-dev libsqlite3-dev libyaml-dev \
libzmq3-dev libmatheval-dev libperl-dev \
Expand All @@ -37,7 +46,7 @@ jobs:
curl check
- uses: actions/checkout@v2
- name: Build kitchensink uWSGI binary
run: UWSGICONFIG_PHPPATH=php-config7.4 /usr/bin/python3 uwsgiconfig.py --build travis
run: UWSGICONFIG_PHPPATH=${{ matrix.php-config }} /usr/bin/python3 uwsgiconfig.py --build travis
- name: Build uWSGI binary
run: |
/usr/bin/python3 uwsgiconfig.py --build base
Expand Down

0 comments on commit 0e9eb9f

Please sign in to comment.