-
Notifications
You must be signed in to change notification settings - Fork 8
34 lines (30 loc) · 1.15 KB
/
build.yaml
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
name: Build CI
on: [push, pull_request]
jobs:
build-noble:
env:
DEBIAN_FRONTEND: noninteractive
TZ: Europe/Paris
runs-on: ubuntu-latest
container: ubuntu:22.04
steps:
- uses: actions/checkout@v4
- name: setup os
run: |
apt-get update && apt-get install -y software-properties-common
apt-get -y install wget \
autoconf automake gcc make \
apache2 apache2-dev memcached libmemcached-dev
- name: Apache AuthMemeCookie Module - libmemcache version
run: dpkg -s libmemcached-dev && dpkg -L libmemcached-dev
- name: Apache AuthMemeCookie Module - Apache HTTPD Version
run: dpkg -s apache2 && dpkg -L apache2-dev && dpkg -L apache2
- name: Apache AuthMemeCookie Module - configure
run: |
autoconf -f
./configure --with-apxs=/usr/bin/apxs --with-libmemcached=/usr || (cat config.log; exit 1)
cat mod_auth_memcookie.h
- name: Apache AuthMemeCookie Module - make
run: make && ls -al .libs/mod_auth_memcookie.so
- name: Apache AuthMemeCookie Module - install
run: make install && apache2ctl configtest