mirror of
https://github.com/h2o/h2o.git
synced 2025-04-20 02:44:45 +08:00
extract https://github.com/h2o/picohttpparser @ f8d0513 () at deps/picohttpparser
This commit is contained in:
parent
b28e758f83
commit
2bfa48c0be
25
deps/picohttpparser/.github/workflows/ci.yml
vendored
Normal file
25
deps/picohttpparser/.github/workflows/ci.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
cc:
|
||||
- gcc
|
||||
- clang
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: make test
|
||||
run: make test CC=${{ matrix.cc }}
|
6
deps/picohttpparser/.travis.yml
vendored
6
deps/picohttpparser/.travis.yml
vendored
@ -1,6 +0,0 @@
|
||||
language: c
|
||||
compiler:
|
||||
- gcc
|
||||
- clang
|
||||
script:
|
||||
- make test
|
6
deps/picohttpparser/Makefile
vendored
6
deps/picohttpparser/Makefile
vendored
@ -25,14 +25,16 @@
|
||||
|
||||
CC?=gcc
|
||||
PROVE?=prove
|
||||
CFLAGS=-Wall -fsanitize=address,undefined
|
||||
TEST_ENV="UBSAN_OPTIONS=print_stacktrace=1:halt_on_error=1"
|
||||
|
||||
all:
|
||||
|
||||
test: test-bin
|
||||
$(PROVE) -v ./test-bin
|
||||
env $(TEST_ENV) $(PROVE) -v ./test-bin
|
||||
|
||||
test-bin: picohttpparser.c picotest/picotest.c test.c
|
||||
$(CC) -Wall $(CFLAGS) $(LDFLAGS) -o $@ $^
|
||||
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
|
||||
|
||||
clean:
|
||||
rm -f test-bin
|
||||
|
Loading…
x
Reference in New Issue
Block a user