Skip to content

Commit ba6d023

Browse files
committed
ci: Build against httpd trunk as well
1 parent 8f7c313 commit ba6d023

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

.github/workflows/ci.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,49 @@ jobs:
9696
} > podmanfile
9797
podman build -f ./podmanfile
9898
99+
make-with-httpd-trunk:
100+
runs-on: ubuntu-latest
101+
steps:
102+
- name: Checkout
103+
uses: actions/checkout@v4
104+
with:
105+
path: mod_proxy_cluster
106+
- name: Checkout latest httpd
107+
uses: actions/checkout@v4
108+
with:
109+
repository: apache/httpd
110+
path: httpd
111+
- name: Checkout apr for httpd
112+
uses: actions/checkout@v4
113+
with:
114+
repository: apache/apr
115+
path: httpd/srclib/apr
116+
- name: Install necessary packages
117+
run: |
118+
ls
119+
sudo apt-get update
120+
sudo apt-get install cmake gcc cmake gcc make libtool libtool-bin python3 autoconf libxml2-dev libpcre2-dev -y
121+
- name: Build httpd
122+
run: |
123+
ls
124+
export "APACHE_DIR=/usr/local/apache2/"
125+
cd httpd
126+
./buildconf
127+
./configure --prefix=/usr/local/apache2 --with-included-apr --enable-proxy-ajp --enable-maintainer-mode \
128+
--enable-so --enable-proxy --enable-proxy-http --enable-proxy-wstunned --enable-proxy-hcheck \
129+
--with-port=8000
130+
sudo make
131+
sudo make install
132+
- name: Build mod_proxy_cluster
133+
run: |
134+
ls
135+
cd mod_proxy_cluster/native
136+
for module in advertise/ mod_proxy_cluster/ mod_cluster_slotmem/ mod_manager/; do \
137+
cd $module; \
138+
sh buildconf; \
139+
./configure CFLAGS="-Wall -Werror" --with-apxs=/usr/local/apache2/bin/apxs; \
140+
make clean; \
141+
make || exit 1; \
142+
cd ..; \
143+
done;
144+

0 commit comments

Comments
 (0)