mirror of
https://github.com/DoneJS-Runtime/quickjs-done-nextgen.git
synced 2025-01-09 17:43:15 +00:00
Add Windows SDK CI
This commit is contained in:
parent
974f40a1a8
commit
bdadad97cd
1 changed files with 30 additions and 0 deletions
30
.github/workflows/ci.yml
vendored
30
.github/workflows/ci.yml
vendored
|
@ -308,6 +308,36 @@ jobs:
|
||||||
build\run-test262.exe -c tests.conf
|
build\run-test262.exe -c tests.conf
|
||||||
build\function_source.exe
|
build\function_source.exe
|
||||||
|
|
||||||
|
windows-sdk:
|
||||||
|
runs-on: windows-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
arch: [x64, Win32]
|
||||||
|
buildType: [Debug, Release]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Install windows sdk
|
||||||
|
uses: ChristopheLav/windows-sdk-install@v1
|
||||||
|
with:
|
||||||
|
version-sdk: 26100
|
||||||
|
features: 'OptionId.DesktopCPPx86,OptionId.DesktopCPPx64'
|
||||||
|
- name: build
|
||||||
|
run: |
|
||||||
|
cmake -B build -DBUILD_EXAMPLES=ON -DCMAKE_SYSTEM_VERSION="10.0.26100.0" -A ${{matrix.arch}}
|
||||||
|
cmake --build build --config ${{matrix.buildType}}
|
||||||
|
- name: stats
|
||||||
|
run: |
|
||||||
|
build\${{matrix.buildType}}\qjs.exe -qd
|
||||||
|
- name: test
|
||||||
|
run: |
|
||||||
|
cp build\${{matrix.buildType}}\fib.dll examples\
|
||||||
|
cp build\${{matrix.buildType}}\point.dll examples\
|
||||||
|
build\${{matrix.buildType}}\qjs.exe examples\test_fib.js
|
||||||
|
build\${{matrix.buildType}}\qjs.exe examples\test_point.js
|
||||||
|
build\${{matrix.buildType}}\run-test262.exe -c tests.conf
|
||||||
|
build\${{matrix.buildType}}\function_source.exe
|
||||||
|
|
||||||
windows-mingw:
|
windows-mingw:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
strategy:
|
strategy:
|
||||||
|
|
Loading…
Reference in a new issue