forked from mnutt/libvmod-cachehits
-
Notifications
You must be signed in to change notification settings - Fork 0
53 lines (51 loc) · 1.84 KB
/
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
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.0.0.tgz" #VRT=14.0
- "https://varnish-cache.org/_downloads/varnish-6.6.1.tgz" #VRT=13.0
- "https://varnish-cache.org/_downloads/varnish-6.5.2.tgz" #VRT=12.0
- "https://varnish-cache.org/_downloads/varnish-6.4.0.tgz" #VRT=11.0
- "https://varnish-cache.org/_downloads/varnish-6.3.2.tgz" #VRT=10.0
- "https://varnish-cache.org/_downloads/varnish-6.2.3.tgz" #VRT=9.0
- "https://varnish-cache.org/_downloads/varnish-6.0.13.tgz"
- "https://varnish-cache.org/_downloads/varnish-6.0.10.tgz" #VRT=7.1
include:
- varnish: "https://github.com/varnishcache/varnish-cache/archive/master.tar.gz"
allow_failures: "true"
steps:
- uses: actions/checkout@v2
- name: install build depends
run: 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' }}