summaryrefslogtreecommitdiffstats
path: root/.github/workflows/linux.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/linux.yml')
-rw-r--r--.github/workflows/linux.yml56
1 files changed, 56 insertions, 0 deletions
diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml
new file mode 100644
index 0000000000..074304c019
--- /dev/null
+++ b/.github/workflows/linux.yml
@@ -0,0 +1,56 @@
+name: Linux
+
+on:
+ push:
+ branches: [ "*" ]
+ pull_request:
+ branches: [ "trunk" ]
+
+env:
+ MARGS: "-j2"
+ CFLAGS: "-g"
+
+jobs:
+ build:
+ strategy:
+ matrix:
+ include:
+ - name: Default
+ # -------------------------------------------------------------------------
+ - name: All-static modules
+ config: --enable-mods-static=reallyall
+ # -------------------------------------------------------------------------
+ - name: Prefork MPM, all-modules (except cgid)
+ config: --enable-mods-shared=reallyall --with-mpm=prefork --disable-cgid
+ # -------------------------------------------------------------------------
+ - name: Worker MPM, all-modules
+ config: --enable-mods-shared=reallyall --with-mpm=worker
+ # -------------------------------------------------------------------------
+ - name: Shared MPMs, all-modules
+ config: --enable-mods-shared=reallyall --enable-mpms-shared=all
+ # -------------------------------------------------------------------------
+ - name: Event MPM, all-modules, mod_cgid only
+ config: --enable-mods-shared=reallyall --with-mpm=event --disable-cgi
+ # -------------------------------------------------------------------------
+ - name: Event MPM, all-modules, no CMSG_DATA
+ config: --enable-mods-shared=reallyall --with-mpm=event ac_cv_have_decl_CMSG_DATA=no
+ fail-fast: false
+ runs-on: ubuntu-latest
+ env:
+ NOTEST_CFLAGS: ${{ matrix.notest-cflags }}
+ CONFIG: ${{ matrix.config }}
+ name: ${{ matrix.name }}
+ steps:
+ - name: apt refresh
+ run: sudo apt-get -o Acquire::Retries=5 update
+ - name: Install prerequisites
+ run: sudo apt-get install -o Acquire::Retries=5
+ cpanminus libtool-bin libapr1-dev libaprutil1-dev
+ liblua5.3-dev libbrotli-dev libcurl4-openssl-dev
+ libnghttp2-dev libjansson-dev libpcre2-dev gdb
+ perl-doc
+ - uses: actions/checkout@v3
+ - name: Configure environment
+ run: ./test/travis_before_linux.sh
+ - name: Build and test
+ run: ./test/travis_run_linux.sh