Skip to content

Commit

Permalink
ci: run compile test on ubuntu 22.04 too
Browse files Browse the repository at this point in the history
  • Loading branch information
xrmx committed Sep 17, 2023
1 parent 21366ab commit 40431a8
Showing 1 changed file with 42 additions and 1 deletion.
43 changes: 42 additions & 1 deletion .github/workflows/compile-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [ master, uwsgi-2.0 ]

jobs:
build:
build-focal:

runs-on: ubuntu-20.04

Expand Down Expand Up @@ -47,3 +47,44 @@ jobs:
- name: Build dummy plugin
run: |
/usr/bin/python3 uwsgiconfig.py --plugin plugins/dummy base
build-jammy:

runs-on: ubuntu-22.04

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 php8.1-dev php8.1 php8.1-common
- name: Install dependencies
run: |
sudo apt update -qq
sudo apt install --no-install-recommends -qqyf python3.10-dev \
libxml2-dev libpcre3-dev libcap2-dev \
libargon2-0-dev libsodium-dev \
php8.1-dev libphp8.1-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 \
libonig-dev libdb-dev libqdbm-dev libbz2-dev \
libwrap0-dev libgeoip-dev libv8-dev libxslt1-dev \
libboost-thread-dev libboost-filesystem-dev \
libssl-dev libacl1-dev python-greenlet-dev \
libcurl4-openssl-dev \
openjdk-11-jdk libgloox-dev gccgo \
cli-common-dev mono-devel mono-mcs uuid-dev \
curl check
- uses: actions/checkout@v2
- name: Build kitchensink uWSGI binary
run: UWSGICONFIG_PHPPATH=php-config8.1 /usr/bin/python3 uwsgiconfig.py --build travis
- name: Build uWSGI binary
run: |
/usr/bin/python3 uwsgiconfig.py --build base
- name: Build cgi plugin
run: |
/usr/bin/python3 uwsgiconfig.py --plugin plugins/cgi base
- name: Build dummy plugin
run: |
/usr/bin/python3 uwsgiconfig.py --plugin plugins/dummy base

0 comments on commit 40431a8

Please sign in to comment.