Skip to content

Commit 944a82f

Browse files
authored
Update ci.yml
1 parent 6c65d24 commit 944a82f

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -207,11 +207,6 @@ jobs:
207207
- name: stats
208208
run: |
209209
build\${{matrix.buildType}}\qjs.exe -qd
210-
- name: cxxtest
211-
run: |
212-
vswhere -latest
213-
#"C:/Program Files/Microsoft Visual Studio/2022/Enterprise/vcvarsall.bat"
214-
#"C:/Program Files/Microsoft Visual Studio/2022/Enterprise/VC/Tools/MSVC/17.11.35327.3/bin/Hostx64/x64/cl.exe" /Zs cxxtest.cc
215210
- name: test
216211
run: |
217212
cp build\${{matrix.buildType}}\fib.dll examples\
@@ -220,6 +215,13 @@ jobs:
220215
build\${{matrix.buildType}}\qjs.exe examples\test_point.js
221216
build\${{matrix.buildType}}\run-test262.exe -c tests.conf
222217
build\${{matrix.buildType}}\function_source.exe
218+
- name: Set up Visual Studio shell
219+
uses: egor-tensin/vs-shell@v2
220+
with:
221+
arch: ${{ matrix.arch == 'x64' && 'x64' || 'x86' }}
222+
- name: cxxtest
223+
run: |
224+
cl.exe /Zs cxxtest.cc
223225
224226
windows-msvc-vs2019:
225227
runs-on: windows-2019

0 commit comments

Comments
 (0)