mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:17:35 +00:00
CI: Specify SERENITY_CACHE_DIR for test262 job
We weren't actually using the caches at all for this job after some path changes recently.
This commit is contained in:
parent
e6d04d29e8
commit
f660fc97a9
1 changed files with 10 additions and 4 deletions
14
.github/workflows/libjs-test262.yml
vendored
14
.github/workflows/libjs-test262.yml
vendored
|
@ -78,19 +78,19 @@ jobs:
|
||||||
- name: TimeZoneData cache
|
- name: TimeZoneData cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ${{ github.workspace }}/libjs-test262/Build/TZDB
|
path: ${{ github.workspace }}/libjs-test262/Build/caches/TZDB
|
||||||
key: TimeZoneData-${{ hashFiles('Meta/CMake/time_zone_data.cmake') }}
|
key: TimeZoneData-${{ hashFiles('Meta/CMake/time_zone_data.cmake') }}
|
||||||
|
|
||||||
- name: UnicodeData cache
|
- name: UnicodeData cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ${{ github.workspace }}/libjs-test262/Build/UCD
|
path: ${{ github.workspace }}/libjs-test262/Build/caches/UCD
|
||||||
key: UnicodeData-${{ hashFiles('Meta/CMake/unicode_data.cmake') }}
|
key: UnicodeData-${{ hashFiles('Meta/CMake/unicode_data.cmake') }}
|
||||||
|
|
||||||
- name: UnicodeLocale cache
|
- name: UnicodeLocale cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ${{ github.workspace }}/libjs-test262/Build/CLDR
|
path: ${{ github.workspace }}/libjs-test262/Build/caches/CLDR
|
||||||
key: UnicodeLocale-${{ hashFiles('Meta/CMake/locale_data.cmake') }}
|
key: UnicodeLocale-${{ hashFiles('Meta/CMake/locale_data.cmake') }}
|
||||||
|
|
||||||
- name: Get previous results
|
- name: Get previous results
|
||||||
|
@ -102,7 +102,13 @@ jobs:
|
||||||
working-directory: libjs-test262
|
working-directory: libjs-test262
|
||||||
run: |
|
run: |
|
||||||
env PATH="/opt/wabt-1.0.27/bin:$PATH" \
|
env PATH="/opt/wabt-1.0.27/bin:$PATH" \
|
||||||
cmake -GNinja -B Build -DCMAKE_C_COMPILER=gcc-12 -DCMAKE_CXX_COMPILER=g++-12 -DWASM_SPEC_TEST_SKIP_FORMATTING=ON -DINCLUDE_WASM_SPEC_TESTS=ON -DSERENITY_SOURCE_DIR=${{ env.SERENITY_SOURCE_DIR }}
|
cmake -GNinja -B Build \
|
||||||
|
-DCMAKE_C_COMPILER=gcc-12 \
|
||||||
|
-DCMAKE_CXX_COMPILER=g++-12 \
|
||||||
|
-DWASM_SPEC_TEST_SKIP_FORMATTING=ON \
|
||||||
|
-DINCLUDE_WASM_SPEC_TESTS=ON \
|
||||||
|
-DSERENITY_SOURCE_DIR=${{ env.SERENITY_SOURCE_DIR }} \
|
||||||
|
-DSERENITY_CACHE_DIR=Build/caches
|
||||||
ninja -C Build test262-runner test-js test-wasm
|
ninja -C Build test262-runner test-js test-wasm
|
||||||
|
|
||||||
- name: Run test262 and test262-parser-tests
|
- name: Run test262 and test262-parser-tests
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue