Skip to content

Commit

Permalink
install quickjs in actions
Browse files Browse the repository at this point in the history
  • Loading branch information
alsotang committed Mar 29, 2021
1 parent d034cb0 commit c60d98a
Show file tree
Hide file tree
Showing 6 changed files with 573 additions and 32 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/update_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ on:
# * is a special character in YAML so you have to quote this string
- cron: '30 6 1 * *'
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_image:
update_benchmark:
# Name the Job
name: update benchmark every month
# Set the type of machine to run on
Expand All @@ -22,6 +25,13 @@ jobs:
with:
node-version: '14'
- run: npm i
- name: system build deps
run: sudo apt-get install -y build-essential gcc-multilib
- run: |
git clone https://github.com/bellard/quickjs.git && \
cd quickjs && \
make && \
sudo make install
- name: run benchmark and generate readme
run: make
- uses: EndBug/add-and-commit@v7
Expand Down
Loading

0 comments on commit c60d98a

Please sign in to comment.