mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
Meta: Run test-js and test-compress as CTest executables
Reduces the number of steps in the Actions workflow this way :^)
This commit is contained in:
parent
8453bb3461
commit
1aa605bc03
Notes:
sideshowbarker
2024-07-18 21:47:07 +09:00
Author: https://github.com/ADKaster Commit: https://github.com/SerenityOS/serenity/commit/1aa605bc038 Pull-request: https://github.com/SerenityOS/serenity/pull/5579
2 changed files with 11 additions and 9 deletions
10
.github/workflows/cmake.yml
vendored
10
.github/workflows/cmake.yml
vendored
|
@ -177,15 +177,7 @@ jobs:
|
|||
- name: Run CMake tests
|
||||
working-directory: ${{ github.workspace }}/Meta/Lagom/Build
|
||||
run: CTEST_OUTPUT_ON_FAILURE=1 ninja test || ${{ matrix.allow-test-failure }}
|
||||
timeout-minutes: 2
|
||||
if: ${{ matrix.with-fuzzers == 'NO_FUZZ' }}
|
||||
- name: Run JS tests
|
||||
working-directory: ${{ github.workspace }}/Meta/Lagom/Build
|
||||
if: ${{ matrix.with-fuzzers == 'NO_FUZZ' }}
|
||||
run: DISABLE_DBG_OUTPUT=1 ./test-js || ${{ matrix.allow-test-failure }}
|
||||
- name: Run LibCompress tests
|
||||
working-directory: ${{ github.workspace }}/Meta/Lagom/Build
|
||||
run: ./test-compress
|
||||
timeout-minutes: 4
|
||||
if: ${{ matrix.with-fuzzers == 'NO_FUZZ' }}
|
||||
|
||||
notify_irc:
|
||||
|
|
|
@ -121,6 +121,11 @@ if (BUILD_LAGOM)
|
|||
target_link_libraries(test-js_lagom Lagom)
|
||||
target_link_libraries(test-js_lagom stdc++)
|
||||
target_link_libraries(test-js_lagom pthread)
|
||||
add_test(
|
||||
NAME JS
|
||||
COMMAND test-js_lagom --show-progress=false
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
add_executable(test-crypto_lagom ../../Userland/Utilities/test-crypto.cpp)
|
||||
set_target_properties(test-crypto_lagom PROPERTIES OUTPUT_NAME test-crypto)
|
||||
|
@ -136,6 +141,11 @@ if (BUILD_LAGOM)
|
|||
set_target_properties(test-compress_lagom PROPERTIES OUTPUT_NAME test-compress)
|
||||
target_link_libraries(test-compress_lagom Lagom)
|
||||
target_link_libraries(test-compress_lagom stdc++)
|
||||
add_test(
|
||||
NAME Compress
|
||||
COMMAND test-compress_lagom
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
add_executable(disasm_lagom ../../Userland/Utilities/disasm.cpp)
|
||||
set_target_properties(disasm_lagom PROPERTIES OUTPUT_NAME disasm)
|
||||
|
|
Loading…
Reference in a new issue