mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00:00
CI: Cache UnicodeData files on the self-hosted test262 runner
We already cache these files to prevent re-downloading them in the other CI workflows, so this just brings the test262 runner up to speed with the rest of them.
This commit is contained in:
parent
9d21c79671
commit
e548c1f489
1 changed files with 12 additions and 1 deletions
13
.github/workflows/libjs-test262.yml
vendored
13
.github/workflows/libjs-test262.yml
vendored
|
@ -62,9 +62,20 @@ jobs:
|
||||||
- name: Check versions
|
- name: Check versions
|
||||||
run: set +e; g++ --version; g++-10 --version; python --version; python3 --version; ninja --version
|
run: set +e; g++ --version; g++-10 --version; python --version; python3 --version; ninja --version
|
||||||
|
|
||||||
- name: Build test-js
|
- name: Create build directory
|
||||||
run: |
|
run: |
|
||||||
mkdir -p Build/lagom
|
mkdir -p Build/lagom
|
||||||
|
mkdir -p Build/lagom/UCD
|
||||||
|
|
||||||
|
- name: UnicodeData cache
|
||||||
|
# TODO: Change the version to the released version when https://github.com/actions/cache/pull/489 (or 571) is merged.
|
||||||
|
uses: actions/cache@03e00da99d75a2204924908e1cca7902cafce66b
|
||||||
|
with:
|
||||||
|
path: ${{ github.workspace }}/Build/lagom/UCD
|
||||||
|
key: UnicodeData-${{ hashFiles('Userland/Libraries/LibUnicode/unicode_data.cmake') }}
|
||||||
|
|
||||||
|
- name: Build test-js
|
||||||
|
run: |
|
||||||
cd Build/lagom
|
cd Build/lagom
|
||||||
cmake -GNinja -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10 -DBUILD_LAGOM=ON ../../Meta/Lagom
|
cmake -GNinja -DCMAKE_C_COMPILER=gcc-10 -DCMAKE_CXX_COMPILER=g++-10 -DBUILD_LAGOM=ON ../../Meta/Lagom
|
||||||
ninja test-js
|
ninja test-js
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue