-
Notifications
You must be signed in to change notification settings - Fork 29
39 lines (36 loc) · 1.04 KB
/
update_benchmark.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
name: update_benchmark
on:
workflow_dispatch:
push:
branches:
- master
jobs:
# Set the job key. The key is displayed as the job name
# when a job name is not provided
update_benchmark:
# Name the Job
name: update benchmark results
# Set the type of machine to run on
runs-on: ubuntu-latest
steps:
# Checks out a copy of your repository on the ubuntu-latest machine
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "19"
- run: npm i
- name: system build deps
run: sudo apt-get install -y build-essential gcc-multilib
- name: install quickjs latest version
run: |
git clone https://github.com/bellard/quickjs.git && \
cd quickjs && \
make && \
sudo make install && \
rm -rf quickjs
- name: run benchmark and generate readme
run: npm run generate
- uses: EndBug/add-and-commit@v7
with:
message: "update benchmark results"
add: "."