Skip to content

Merge pull request #3 from jkim-mi/jkim-update #17

Merge pull request #3 from jkim-mi/jkim-update

Merge pull request #3 from jkim-mi/jkim-update #17

Workflow file for this run

name: CI
# Controls when the action will run.
on:
push:
branches: [master]
pull_request:
branches: [master]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
varnish:
- "https://github.com/varnishcache/varnish-cache/archive/master.tar.gz" #VRT=14.0
- "https://varnish-cache.org/_downloads/varnish-7.5.0.tgz" #VRT=14.0
- "https://varnish-cache.org/_downloads/varnish-7.4.3.tgz" #VRT=14.0
- "https://varnish-cache.org/_downloads/varnish-7.0.0.tgz" #VRT=14.0
- "https://varnish-cache.org/_downloads/varnish-6.0.13.tgz"
include:
- varnish: "https://github.com/varnishcache/varnish-cache/archive/master.tar.gz"
allow_failures: "true"
steps:
- uses: actions/checkout@v4
- name: install build depends
run: |
sudo apt-get update
sudo apt-get install python3-docutils python3-sphinx
- name: build varnish
run: |
wget ${{ matrix.varnish }}
tar -zxf *gz
pushd varnish-*/
./autogen.sh
./configure --prefix=/usr
make -sj32
sudo make install
popd
continue-on-error: ${{ matrix.allow_failures == 'true' }}
- name: build vmod
run: |
cd $GITHUB_WORKSPACE
./autogen.sh
./configure --prefix=/usr
make -j4
make check -j4
continue-on-error: ${{ matrix.allow_failures == 'true' }}