File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 5656 - name : zig build debug
5757 run : zig build -Dengine=v8
5858
59+ - name : upload artifact
60+ uses : actions/upload-artifact@v4
61+ with :
62+ name : lightpanda-build-dev
63+ path : |
64+ zig-out/bin/lightpanda
65+ retention-days : 1
66+
5967 zig-build-release :
6068 name : zig build release
6169
@@ -131,3 +139,30 @@ jobs:
131139
132140 - name : format and send json result
133141 run : /perf-fmt bench-browser ${{ github.sha }} bench.json
142+
143+ demo-puppeteer :
144+ name : demo-puppeteer
145+ needs : zig-build-dev
146+
147+ runs-on : ubuntu-latest
148+
149+ steps :
150+ - uses : actions/checkout@v4
151+ with :
152+ repository : ' lightpanda-io/demo'
153+ fetch-depth : 0
154+
155+ - run : npm install
156+
157+ - name : download artifact
158+ uses : actions/download-artifact@v4
159+ with :
160+ name : lightpanda-build-dev
161+
162+ - run : chmod a+x ./lightpanda
163+
164+ - name : run puppeteer
165+ run : |
166+ python3 -m http.server 1234 -d ./public &
167+ ./lightpanda &
168+ RUNS=2 npm run bench-puppeteer-cdp
You can’t perform that action at this time.
0 commit comments