Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Run test262 tests in parallel #564

Merged
merged 6 commits into from
Sep 30, 2024
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 0 additions & 32 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -160,38 +160,6 @@ jobs:
run: |
time make test262

linux-gcc48:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we not save this one? If you are worried about the CMake checks, we could remove 262 from all and have it compiled when we run the test262* targets, WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a version check to CMakeLists.txt, hope that's good enough.

runs-on: ubuntu-latest
container:
image: ubuntu:18.04
# Work around an issue where the node from actions/checkout is too new
# to run inside the old container image.
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
steps:
- name: install dependencies
run: |
apt update && apt -y install make gcc-4.8 cmake software-properties-common
# git in default ppa repository is too old to run submodule checkout
add-apt-repository -y ppa:git-core/ppa
apt update && apt install -y git
- name: checkout
uses: actions/checkout@v3
with:
submodules: true
- name: build
env:
CC: gcc-4.8
run: |
mkdir build
cd build
cmake ..
cd ..
make -C build -j$(getconf _NPROCESSORS_ONLN)
- name: stats
run: |
./build/qjs -qd

windows-msvc:
runs-on: windows-latest
strategy:
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -269,8 +269,8 @@ endif()
# Test262 runner
#

# run-test262 uses pthreads.
if(NOT WIN32 AND NOT EMSCRIPTEN)
# run-test262 uses pthreads. tcc does not understand _Thread_local.
if(NOT WIN32 AND NOT EMSCRIPTEN AND NOT CMAKE_C_COMPILER_ID STREQUAL "TinyCC")
add_executable(run-test262
run-test262.c
)
Loading