Files
ci-emsdk/test/test_bazel.ps1
Ezekiel Warren ad59642673 fix(bazel): use param file for compile (#1373)
* fixes issues on windows when dealing with many dependencies causing a
  'command line too long' error
2024-04-22 14:19:11 -04:00

25 lines
645 B
PowerShell

$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 }