-
Notifications
You must be signed in to change notification settings - Fork 692
90 lines (83 loc) · 3.22 KB
/
compile-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
name: Compile test
on:
push:
branches: [ master, uwsgi-2.0 ]
pull_request:
branches: [ master, uwsgi-2.0 ]
jobs:
build-focal:
runs-on: ubuntu-20.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 php7.4-dev php7.4 php7.4-common
- name: Install dependencies
run: |
sudo apt update -qq
sudo apt install --no-install-recommends -qqyf python3.8-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 \
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-config7.4 /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
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