Build all Windows targets when building in CI

This commit is contained in:
Saúl Ibarra Corretgé 2024-10-08 16:58:08 +02:00 committed by GitHub
parent 2344d19220
commit a51c77efd8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 13 deletions

View file

@ -204,10 +204,7 @@ jobs:
- name: build - name: build
run: | run: |
cmake -B build -DBUILD_EXAMPLES=ON -G "Visual Studio 17 2022" -A ${{matrix.arch}} cmake -B build -DBUILD_EXAMPLES=ON -G "Visual Studio 17 2022" -A ${{matrix.arch}}
cmake --build build --config ${{matrix.buildType}} --target qjs_exe cmake --build build --config ${{matrix.buildType}}
cmake --build build --config ${{matrix.buildType}} --target function_source
cmake --build build --config ${{matrix.buildType}} --target fib
cmake --build build --config ${{matrix.buildType}} --target point
- name: stats - name: stats
run: | run: |
build\${{matrix.buildType}}\qjs.exe -qd build\${{matrix.buildType}}\qjs.exe -qd
@ -240,10 +237,7 @@ jobs:
- name: build - name: build
run: | run: |
cmake -B build -DBUILD_EXAMPLES=ON -G "Visual Studio 17 2022" -T ClangCL cmake -B build -DBUILD_EXAMPLES=ON -G "Visual Studio 17 2022" -T ClangCL
cmake --build build --config ${{matrix.buildType}} --target qjs_exe cmake --build build --config ${{matrix.buildType}}
cmake --build build --config ${{matrix.buildType}} --target function_source
cmake --build build --config ${{matrix.buildType}} --target fib
cmake --build build --config ${{matrix.buildType}} --target point
- name: stats - name: stats
run: | run: |
build\${{matrix.buildType}}\qjs.exe -qd build\${{matrix.buildType}}\qjs.exe -qd
@ -280,10 +274,7 @@ jobs:
- name: build - name: build
run: | run: |
cmake -B build -DBUILD_EXAMPLES=ON -DCMAKE_BUILD_TYPE=${{matrix.buildType}} -G "Ninja" cmake -B build -DBUILD_EXAMPLES=ON -DCMAKE_BUILD_TYPE=${{matrix.buildType}} -G "Ninja"
cmake --build build --target qjs_exe cmake --build build
cmake --build build --target function_source
cmake --build build --target fib
cmake --build build --target point
- name: stats - name: stats
run: | run: |
build\qjs.exe -qd build\qjs.exe -qd

View file

@ -284,7 +284,7 @@ endif()
if(WIN32 if(WIN32
OR EMSCRIPTEN OR EMSCRIPTEN
OR CMAKE_C_COMPILER_ID STREQUAL "TinyCC" OR CMAKE_C_COMPILER_ID STREQUAL "TinyCC"
OR CMAKE_C_COMPILER_ID STREQUAL "GNU" AND CMAKE_C_COMPILER_VERSION VERSION_LESS 5) OR (CMAKE_C_COMPILER_ID STREQUAL "GNU" AND CMAKE_C_COMPILER_VERSION VERSION_LESS 5))
# Empty. run-test262 uses pthreads, sorry Windows users. # Empty. run-test262 uses pthreads, sorry Windows users.
# tcc and gcc 4.8 don't understand _Thread_local, whereas I # tcc and gcc 4.8 don't understand _Thread_local, whereas I
# don't understand why people still use 4.8 in this day and age # don't understand why people still use 4.8 in this day and age