Skip to content

Commit 779de82

Browse files
committed
build: add temporal test on GHA windows
1 parent 37ff1ea commit 779de82

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/coverage-windows.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,14 @@ jobs:
5555
allow-prereleases: true
5656
- name: Install deps
5757
run: choco install nasm
58+
- name: Install Rust ${{ env.RUSTC_VERSION }}
59+
run: |
60+
rustup override set "$RUSTC_VERSION"
61+
rustup --version
5862
- name: Environment Information
5963
run: npx envinfo
6064
- name: Build
61-
run: ./vcbuild.bat clang-cl
65+
run: ./vcbuild.bat clang-cl v8temporal
6266
# TODO(bcoe): investigate tests that fail with coverage enabled
6367
# on Windows.
6468
- name: Test

vcbuild.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ set doc=
7272
set extra_msbuild_args=
7373
set compile_commands=
7474
set cfg=
75+
set v8temporal=
7576
set v8windbg=
7677
set exit_code=0
7778

@@ -97,6 +98,7 @@ if /i "%1"=="sign" set sign=1&goto arg-ok
9798
if /i "%1"=="nosnapshot" set nosnapshot=1&goto arg-ok
9899
if /i "%1"=="nonpm" set nonpm=1&goto arg-ok
99100
if /i "%1"=="ltcg" set ltcg=1&goto arg-ok
101+
if /i "%1"=="v8temporal" set v8temporal=1&goto arg-ok
100102
if /i "%1"=="v8windbg" set v8windbg=1&goto arg-ok
101103
if /i "%1"=="licensertf" set licensertf=1&goto arg-ok
102104
if /i "%1"=="test" set test_args=%test_args% %common_test_suites%&set lint_cpp=1&set lint_js=1&set lint_md=1&goto arg-ok
@@ -214,6 +216,7 @@ if defined DEBUG_HELPER set configure_flags=%configure_flags% --verbose
214216
if defined ccache_path set configure_flags=%configure_flags% --use-ccache-win
215217
if defined compile_commands set configure_flags=%configure_flags% -C
216218
if defined cfg set configure_flags=%configure_flags% --control-flow-guard
219+
if defined v8temporal set configure_flags=%configure_flags% --v8-enable-temporal-support
217220
if defined v8windbg set configure_flags=%configure_flags% --enable-v8windbg
218221

219222
if "%target_arch%"=="x86" (

0 commit comments

Comments
 (0)