Skip to content

Commit

Permalink
Create dump-testdata.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Seonghyun Kim <[email protected]>
  • Loading branch information
ksh8281 committed Jun 29, 2023
1 parent 3a3ef88 commit 9459a2d
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
35 changes: 35 additions & 0 deletions .github/workflows/dump-testdata.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Dump testdata

on:
push:
branches: [ master ]
schedule:
# trigger on every monday, wednesday and friday
- cron: '30 22 * * 1,3,5'
jobs:
dump-test262:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Install Packages
run: |
sudo apt-get update
sudo apt-get install -y ninja-build gcc-multilib g++-multilib zip pypy libicu-dev
- name: Build x64
env:
GC_FREE_SPACE_DIVISOR: 1
BUILD_OPTIONS_X64: -DESCARGOT_HOST=linux -DESCARGOT_ARCH=x64 -DESCARGOT_MODE=release -DESCARGOT_TEMPORAL=ON -DESCARGOT_TCO=ON -DESCARGOT_THREADING=ON -DESCARGOT_TEST=ON -DESCARGOT_OUTPUT=shell -GNinja
run: |
cmake -H. -Bout/debug/x64 $BUILD_OPTIONS_X64
ninja -Cout/debug/x64
- name: Dump test262
run: |
tools/run-tests.py --arch=x86_64 --engine="$GITHUB_WORKSPACE/out/debug/x64/escargot" test262-dump || echo command failed $?
zip -r test262_dump.zip ./test/test262/test262_data
- name: Archive testdata
uses: actions/upload-artifact@v3
with:
name: test262_dump
path: test262_dump.zip
2 changes: 1 addition & 1 deletion third_party/GCutil

0 comments on commit 9459a2d

Please sign in to comment.