Mercurial
comparison third_party/emsdk/test/test_bazel.ps1 @ 179:8d17f6e6e290
[ThirdParty] Added emsdk bazel rules that can be supported by bazel 9.0.0
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Thu, 22 Jan 2026 21:23:17 -0800 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 178:94705b5986b3 | 179:8d17f6e6e290 |
|---|---|
| 1 $ErrorActionPreference = 'Stop' | |
| 2 | |
| 3 Set-Location bazel | |
| 4 | |
| 5 bazel build //hello-world:hello-world-wasm | |
| 6 if (-not $?) { Exit $LastExitCode } | |
| 7 | |
| 8 bazel build //hello-world:hello-world-wasm-simd | |
| 9 if (-not $?) { Exit $LastExitCode } | |
| 10 | |
| 11 Set-Location test_external | |
| 12 | |
| 13 bazel build //:hello-world-wasm | |
| 14 if (-not $?) { Exit $LastExitCode } | |
| 15 | |
| 16 bazel build //long_command_line:long_command_line_wasm | |
| 17 if (-not $?) { Exit $LastExitCode } | |
| 18 | |
| 19 bazel build //:hello-embind-wasm --compilation_mode dbg # debug | |
| 20 if (-not $?) { Exit $LastExitCode } | |
| 21 | |
| 22 # Test use of the closure compiler | |
| 23 bazel build //:hello-embind-wasm --compilation_mode opt # release | |
| 24 if (-not $?) { Exit $LastExitCode } | |
| 25 | |
| 26 Set-Location ..\test_secondary_lto_cache | |
| 27 | |
| 28 bazel build //:hello-world-wasm | |
| 29 if (-not $?) { Exit $LastExitCode } | |
| 30 |