mirror of
https://github.com/DoneJS-Runtime/quickjs-done-nextgen.git
synced 2025-01-09 17:43:15 +00:00
Build all Windows targets when building in CI
This commit is contained in:
parent
2344d19220
commit
a51c77efd8
2 changed files with 4 additions and 13 deletions
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue