File tree Expand file tree Collapse file tree 1 file changed +31
-1
lines changed Expand file tree Collapse file tree 1 file changed +31
-1
lines changed Original file line number Diff line number Diff line change 71
71
run : |
72
72
LC_ALL=C sort -c CONTRIBUTORS.txt
73
73
74
+ gen_llhttp :
75
+ name : Generate llhttp sources
76
+ needs : lint
77
+ runs-on : ubuntu-latest
78
+ timeout-minutes : 5
79
+ steps :
80
+ - name : Checkout
81
+ uses : actions/checkout@v2
82
+ with :
83
+ submodules : true
84
+ - name : Cache llhttp generated files
85
+ uses : actions/cache@v2
86
+ id : cache
87
+ with :
88
+ key : llhttp-${{ hashFiles('vendor/llhttp/package.json', 'vendor/llhttp/src/**/*') }}
89
+ path : |
90
+ vendor/llhttp/build/llhttp.h
91
+ vendor/llhttp/build/c/llhttp.c
92
+ - name : Setup NodeJS
93
+ uses : actions/setup-node@v2
94
+ if : steps.cache.outputs.cache-hit != 'true'
95
+ with :
96
+ node-version : ' 14'
97
+ - name : Generate sources
98
+ if : steps.cache.outputs.cache-hit != 'true'
99
+ run : |
100
+ cd vendor/llhttp
101
+ npm install
102
+ make generate
103
+
74
104
test :
75
105
name : Test
76
- needs : lint
106
+ needs : gen_llhttp
77
107
strategy :
78
108
matrix :
79
109
pyver : [3.7, 3.8, 3.9]
You can’t perform that action at this time.
0 commit comments