mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-29 08:11:13 +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
Notes:
sideshowbarker
2024-07-17 02:22:23 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/SerenityOS/serenity/commit/f660fc97a9 Pull-request: https://github.com/SerenityOS/serenity/pull/20577 Reviewed-by: https://github.com/trflynn89 ✅
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…
Reference in a new issue