CI: Bundle and upload a js(1) release package

To include Serenity's LibJS on test262.report, we will need to integrate
with esvu. Create a .tar.gz with js(1) binary and the Lagom libraries it
it needs to run, and upload that package as a build artifact.
This commit is contained in:
Timothy Flynn 2022-02-07 10:52:49 -05:00 committed by Ali Mohammad Pur
parent 636a6a2fb8
commit 3c88749800
Notes: sideshowbarker 2024-07-17 19:06:58 +09:00

View File

@ -133,3 +133,16 @@ jobs:
continue-on-error: true
working-directory: libjs-test262
run: ./per_file_result_diff.py -o per-file-bytecode-master.json -n ../libjs-website/test262/data/per-file-bytecode-master.json
- name: Build and package js
working-directory: libjs-test262/Build
run: |
ninja js
cpack -D CPACK_INSTALL_CMAKE_PROJECTS="$(pwd)/_deps/lagom-build;js;js;/"
- name: Upload js package
uses: actions/upload-artifact@v2
with:
name: serenity-js
path: libjs-test262/Build/serenity-js.tar.gz
retention-days: 7