Bazel Windows Support (#929)
This commit is contained in:
21
test/test_bazel.ps1
Normal file
21
test/test_bazel.ps1
Normal file
@@ -0,0 +1,21 @@
|
||||
$ErrorActionPreference = 'Stop'
|
||||
|
||||
Set-Location bazel
|
||||
|
||||
bazel build //hello-world:hello-world-wasm
|
||||
if (-not $?) { Exit $LastExitCode }
|
||||
|
||||
bazel build //hello-world:hello-world-wasm-simd
|
||||
if (-not $?) { Exit $LastExitCode }
|
||||
|
||||
Set-Location test_external
|
||||
|
||||
bazel build //:hello-world-wasm
|
||||
if (-not $?) { Exit $LastExitCode }
|
||||
|
||||
bazel build //:hello-embind-wasm --compilation_mode dbg # debug
|
||||
if (-not $?) { Exit $LastExitCode }
|
||||
|
||||
# Test use of the closure compiler
|
||||
bazel build //:hello-embind-wasm --compilation_mode opt # release
|
||||
if (-not $?) { Exit $LastExitCode }
|
||||
Reference in New Issue
Block a user