From 6a723311a3bb0ef09f18e53f4b9ebd7a80f23ad6 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 17 Oct 2024 09:17:03 +0200 Subject: [PATCH] Run test262 on Windows --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6ea6b7c1..a172487f2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -207,6 +207,8 @@ jobs: buildType: [Debug, Release] steps: - uses: actions/checkout@v4 + with: + submodules: true - name: build run: | cmake -B build -DBUILD_EXAMPLES=ON -G "Visual Studio 17 2022" -A ${{matrix.arch}} @@ -222,6 +224,10 @@ jobs: build\${{matrix.buildType}}\qjs.exe examples\test_point.js build\${{matrix.buildType}}\run-test262.exe -c tests.conf build\${{matrix.buildType}}\function_source.exe + - name: test 262 + run: | + build\${{matrix.buildType}}\run-test262.exe -m -c test262.conf -a + windows-clang: runs-on: windows-latest @@ -231,6 +237,8 @@ jobs: buildType: [Debug, Release] steps: - uses: actions/checkout@v4 + with: + submodules: true - name: build run: | cmake -B build -DBUILD_EXAMPLES=ON -G "Visual Studio 17 2022" -T ClangCL @@ -246,6 +254,9 @@ jobs: build\${{matrix.buildType}}\qjs.exe examples\test_point.js build\${{matrix.buildType}}\run-test262.exe -c tests.conf build\${{matrix.buildType}}\function_source.exe + - name: test 262 + run: | + build\${{matrix.buildType}}\run-test262.exe -m -c test262.conf -a windows-ninja: runs-on: windows-latest @@ -255,6 +266,8 @@ jobs: buildType: [Debug, Release] steps: - uses: actions/checkout@v4 + with: + submodules: true - name: install ninja run: | choco install ninja @@ -274,6 +287,9 @@ jobs: build\qjs.exe examples\test_point.js build\run-test262.exe -c tests.conf build\function_source.exe + - name: test 262 + run: | + build\run-test262.exe -m -c test262.conf -a windows-mingw: runs-on: windows-latest @@ -291,6 +307,8 @@ jobs: shell: msys2 {0} steps: - uses: actions/checkout@v4 + with: + submodules: true - name: Setup MSYS2 uses: msys2/setup-msys2@v2 with: @@ -312,6 +330,9 @@ jobs: - name: test run: | make test + - name: test 262 + run: | + make test262 windows-mingw-shared: runs-on: windows-latest defaults: