Update examples collection
This commit is contained in:
parent
8bc9f30d87
commit
87d3066428
1 changed files with 21502 additions and 0 deletions
30
emsdk-cache/emsdk-main/test/test_bazel.ps1
Normal file
30
emsdk-cache/emsdk-main/test/test_bazel.ps1
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
$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 //long_command_line:long_command_line_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 }
|
||||
|
||||
Set-Location ..\test_secondary_lto_cache
|
||||
|
||||
bazel build //:hello-world-wasm
|
||||
if (-not $?) { Exit $LastExitCode }
|
||||
|
||||
Loading…
Reference in a new issue