haproxy/.github/workflows/h2spec.yml
Ilya Shipitsin 3e128fe973 CI: github actions: add weekly h2spec test
ML link: https://www.mail-archive.com/haproxy@formilux.org/msg36753.html

this commit adds scheduled run of h2spec tool to test http2 and HPACK
compliance.

h2spec might be found at: https://github.com/summerwind/h2spec
2020-03-24 21:04:25 +01:00

28 lines
599 B
YAML

name: compliance
on:
schedule:
- cron: "0 0 * * 3"
jobs:
h2spec:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: build haproxy
run: |
make -j3 CC=gcc ERR=1 TARGET=linux-glibc USE_OPENSSL=1
- name: start haproxy
run: |
./haproxy -f .github/h2spec.config -D
- name: download h2spec
run: |
wget https://github.com/summerwind/h2spec/releases/download/v2.4.0/h2spec_linux_amd64.tar.gz
tar xvf h2spec_linux_amd64.tar.gz
- name: run h2spec
run: |
./h2spec -Svtk -h 127.0.0.1 -p 8443