forked from o1-labs/o1js
-
Notifications
You must be signed in to change notification settings - Fork 2
54 lines (51 loc) · 1.54 KB
/
process_perf_new.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
54
name: process perf results no docker custom
on:
workflow_dispatch:
inputs:
commit_id:
description: 'Commit to read results from'
required: true
default: '5b13c202bbf6a196104ebb440678dd22037b6746'
#push:
# branches:
# - test-perf
permissions:
id-token: write
pages: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Login to GHCR
uses: meta-introspector/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Download a Build Artifact
uses: meta-introspector/action-download-artifact@v6
with:
workflow_search: true
commit: ${{ inputs.commit_id }}
skip_unpack: true
path: data
- name: list
run: |
find data
for x in data/*.zip;
do unzip $x;
done
unzip data/results.tgz.zip
tar -xzf ./results.tgz
pushd app/perf-reporting/output/results/
tree -H . -o index.html
# cp index.txt app/perf-reporting/output/results/index.html
- name: Setup Pages
uses: meta-introspector/configure-pages@v5
- name: Upload Artifact
uses: meta-introspector/upload-pages-artifact@v5
with:
path: 'app/perf-reporting/output/results'
- name: Deploy to GitHub Pages
id: deployment
uses: meta-introspector/deploy-pages@v4.1