mirror of
https://github.com/DoneJS-Runtime/quickjs-done-nextgen.git
synced 2025-01-09 17:43:15 +00:00
Fix stdc atomics detection and add vs2019 msvc job
This commit is contained in:
parent
995de2592a
commit
62f4713780
2 changed files with 18 additions and 1 deletions
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
|
@ -212,6 +212,23 @@ jobs:
|
|||
build\${{matrix.buildType}}\run-test262.exe -c tests.conf
|
||||
build\${{matrix.buildType}}\function_source.exe
|
||||
|
||||
windows-msvc-vs2019:
|
||||
runs-on: windows-2019
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
arch: [x64, Win32]
|
||||
buildType: [Debug, Release]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: build
|
||||
run: |
|
||||
cmake -B build -DBUILD_EXAMPLES=ON -G "Visual Studio 16 2019" -A ${{matrix.arch}}
|
||||
cmake --build build --config ${{matrix.buildType}} --target qjs_exe
|
||||
- name: stats
|
||||
run: |
|
||||
build\${{matrix.buildType}}\qjs.exe -qd
|
||||
|
||||
windows-clang:
|
||||
runs-on: windows-latest
|
||||
strategy:
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
#define NO_TM_GMTOFF
|
||||
#endif
|
||||
|
||||
#if !defined(EMSCRIPTEN) && !defined(__wasi__) && !defined(__STDC_NO_ATOMICS__)
|
||||
#if !defined(EMSCRIPTEN) && !defined(__wasi__) && !__STDC_NO_ATOMICS__
|
||||
#include "quickjs-c-atomics.h"
|
||||
#define CONFIG_ATOMICS
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue