| { | |
| "linux": { | |
| "build_steps": [ | |
| { | |
| "name": "Setup Release DEPS", | |
| "command": ["src/build.py", "--sync-include=deps", "--use-lto=auto"] | |
| }, | |
| { | |
| "name": "Build libcxx", | |
| "command": ["src/build.py", "--build-include=libcxx", "--use-lto=auto"] | |
| }, | |
| { | |
| "name": "Build Binaryen", | |
| "command": ["src/build.py", "--build-include=binaryen", "--use-lto=auto"] | |
| }, | |
| { | |
| "name": "Build LLVM", | |
| "command": ["src/build.py", "--build-include=llvm", "--use-lto=auto"] | |
| }, | |
| { | |
| "name": "Install Emscripten", | |
| "command": ["src/build.py", "--build-include=emscripten"] | |
| }, | |
| { | |
| "name": "Build Emscripten libraries", | |
| "command": ["src/build.py", "--build-include=emscripten-libs"] | |
| }, | |
| { | |
| "name": "Archive Binaries", | |
| "command": ["src/build.py", "--build-include=archive"] | |
| }, | |
| { | |
| "name": "Build libcxx (cross)", | |
| "command": ["src/build.py", "--build-include=libcxx-cross", "--use-lto=auto"] | |
| }, | |
| { | |
| "name": "Build Binaryen (cross)", | |
| "command": ["src/build.py", "--build-include=binaryen-cross", "--use-lto=auto"] | |
| }, | |
| { | |
| "name": "Build LLVM (cross)", | |
| "command": ["src/build.py", "--build-include=llvm-cross", "--use-lto=auto"] | |
| }, | |
| { | |
| "name": "Install Emscripten (cross)", | |
| "command": ["src/build.py", "--build-include=emscripten-cross"] | |
| }, | |
| { | |
| "name": "Archive Binaries (cross)", | |
| "command": ["src/build.py", "--build-include=archive-cross", "--use-lto=auto"] | |
| }, | |
| { | |
| "name": "Trigger emsdk release workflow", | |
| "command": ["src/trigger_emsdk_release.py"] | |
| }, | |
| { | |
| "name": "Extract archive for testing", | |
| "command": ["src/build.py", "--build-include=extract-archive"] | |
| } | |
| ], | |
| "test_steps": [ | |
| { | |
| "name": "Emscripten testsuite (cores)", | |
| "command": ["src/build.py", "--test-include=emtest", "--test-param=cores"] | |
| }, | |
| { | |
| "name": "Emscripten testsuite (core3)", | |
| "command": ["src/build.py", | |
| "--test-include=emtest", | |
| "--test-param=core3,wasm2js1.test_pthread_create"] | |
| }, | |
| { | |
| "name": "Emscripten testsuite (other)", | |
| "command": ["src/build.py", "--test-include=emtest", "--test-param=other"] | |
| }, | |
| { | |
| "name": "Emscripten testsuite (wasm64l)", | |
| "command": ["src/build.py", "--test-include=emtest", "--test-param=wasm64l"] | |
| } | |
| ] | |
| }, | |
| "mac": { | |
| "build_steps": [ | |
| { | |
| "name": "Setup Release DEPS", | |
| "command": ["src/build.py", "--sync-include=deps", "--use-lto=auto"] | |
| }, | |
| { | |
| "name": "Build libcxx", | |
| "command": ["src/build.py", "--build-include=libcxx", "--use-lto=auto"] | |
| }, | |
| { | |
| "name": "Build Binaryen", | |
| "command": ["src/build.py", "--build-include=binaryen", "--use-lto=auto"] | |
| }, | |
| { | |
| "name": "Build LLVM", | |
| "command": ["src/build.py", "--build-include=llvm", "--use-lto=auto"] | |
| }, | |
| { | |
| "name": "Install Emscripten", | |
| "command": ["src/build.py", "--build-include=emscripten"] | |
| }, | |
| { | |
| "name": "Build Emscripten libraries", | |
| "command": ["src/build.py", "--build-include=emscripten-libs"] | |
| }, | |
| { | |
| "name": "Archive Binaries", | |
| "command": ["src/build.py", "--build-include=archive"] | |
| }, | |
| { | |
| "name": "Build libcxx (cross)", | |
| "command": ["src/build.py", "--build-include=libcxx-cross", "--use-lto=auto"] | |
| }, | |
| { | |
| "name": "Build Binaryen (cross)", | |
| "command": ["src/build.py", "--build-include=binaryen-cross", "--use-lto=auto"] | |
| }, | |
| { | |
| "name": "Build LLVM (cross)", | |
| "command": ["src/build.py", "--build-include=llvm-cross", "--use-lto=auto"] | |
| }, | |
| { | |
| "name": "Install Emscripten (cross)", | |
| "command": ["src/build.py", "--build-include=emscripten-cross"] | |
| }, | |
| { | |
| "name": "Archive Binaries (cross)", | |
| "command": ["src/build.py", "--build-include=archive-cross"] | |
| }, | |
| { | |
| "name": "Trigger emsdk release workflow", | |
| "command": ["src/trigger_emsdk_release.py"] | |
| }, | |
| { | |
| "name": "Extract archive for testing", | |
| "command": ["src/build.py", "--build-include=extract-archive"] | |
| } | |
| ], | |
| "test_steps": [ | |
| { | |
| "name": "Emscripten testsuite (core2)", | |
| "command": ["src/build.py", "--test-include=emtest", "--test-param=core2"] | |
| }, | |
| { | |
| "name": "Emscripten testsuite (other)", | |
| "command": ["src/build.py", | |
| "--test-include=emtest", "--test-param=other,skip:other.test_cmake_find_pkg_config"] | |
| }, | |
| { | |
| "name": "BinaryenJS tests", | |
| "command": ["src/build.py", "--test-include=binaryenjs"] | |
| } | |
| ] | |
| }, | |
| "win": { | |
| "build_steps": [ | |
| { | |
| "name": "Setup Release DEPS", | |
| "command": ["src/build.py", "--sync-include=deps", "--use-lto=auto"] | |
| }, | |
| { | |
| "name": "Build Binaryen", | |
| "command": ["src/build.py", "--build-include=binaryen", "--use-lto=auto"] | |
| }, | |
| { | |
| "name": "Build LLVM", | |
| "command": ["src/build.py", "--build-include=llvm", "--use-lto=auto"] | |
| }, | |
| { | |
| "name": "Install Emscripten", | |
| "command": ["src/build.py", "--build-include=emscripten"] | |
| }, | |
| { | |
| "name": "Build Emscripten libraries", | |
| "command": ["src/build.py", "--build-include=emscripten-libs"] | |
| }, | |
| { | |
| "name": "Archive Binaries", | |
| "command": ["src/build.py", "--build-include=archive"] | |
| }, | |
| { | |
| "name": "Trigger emsdk release workflow", | |
| "command": ["src/trigger_emsdk_release.py"] | |
| } | |
| ], | |
| "test_steps": [ | |
| { | |
| "name": "Emscripten testsuite (core0)", | |
| "command": ["src/build.py", "--test-include=emtest", "--test-param=core0"] | |
| }, | |
| { | |
| "name": "Emscripten testsuite (other)", | |
| "command": ["src/build.py", | |
| "--test-include=emtest", | |
| "--test-param=other,skip:other.test_cmake_find_pkg_config,skip:other.test_wasm_sourcemap_relative_paths"] | |
| } | |
| ] | |
| }, | |
| "linux-test-suites": { | |
| "build_steps": [ | |
| { | |
| "name": "Setup Release DEPS", | |
| "command": ["src/build.py", "--sync-include=deps", "--use-lto=auto"] | |
| }, | |
| { | |
| "name": "Build libcxx", | |
| "command": ["src/build.py", "--build-include=libcxx", "--link-static"] | |
| }, | |
| { | |
| "name": "Build LLVM", | |
| "command": ["src/build.py", "--build-include=llvm", "--link-static"] | |
| }, | |
| { | |
| "name": "Build Test Deps", | |
| "command": ["src/build.py", "--build-include=llvm-test-depends"] | |
| }, | |
| { | |
| "name": "Build Binaryen", | |
| "command": ["src/build.py", "--build-include=binaryen", "--use-lto=auto"] | |
| }, | |
| { | |
| "name": "Install Emscripten", | |
| "command": ["src/build.py", "--build-include=emscripten"] | |
| }, | |
| { | |
| "name": "Build Emscripten libraries", | |
| "command": ["src/build.py", "--build-include=emscripten-libs"] | |
| } | |
| ], | |
| "test_steps": [ | |
| { | |
| "name": "LLVM regression", | |
| "command": ["src/build.py", "--test-include=llvm-regression"] | |
| }, | |
| { | |
| "name": "Emscripten testsuite (hello world)", | |
| "command": ["src/build.py", | |
| "--test-include=emtest", "--test-param=core0.test_hello_world"] | |
| }, | |
| { | |
| "name": "LLVM testsuite", | |
| "command": ["src/build.py", "--test-include=llvmtest"] | |
| }, | |
| { | |
| "name": "Emscripten testsuite (>2GB)", | |
| "command": ["src/build.py", "--test-include=emtest", "--test-param=core_2gb"] | |
| }, | |
| { | |
| "name": "Emscripten testsuite (ASan)", | |
| "command": ["src/build.py", "--test-include=emtest", "--test-param=asan"] | |
| }, | |
| { | |
| "name": "Emscripten testsuite (LSan)", | |
| "command": ["src/build.py", "--test-include=emtest", "--test-param=lsan"] | |
| }, | |
| { | |
| "name": "Emscripten testsuite (UBSan)", | |
| "command": ["src/build.py", "--test-include=emtest", "--test-param=ubsan"] | |
| }, | |
| { | |
| "name": "Emscripten testsuite (SAFE_HEAP)", | |
| "command": ["src/build.py", "--test-include=emtest", "--test-param=core2s"] | |
| }, | |
| { | |
| "name": "Emscripten testsuite (LTO)", | |
| "command": ["src/build.py", "--test-include=emtest", "--test-param=lto2"] | |
| }, | |
| { | |
| "name": "Emscripten testsuite (ThinLTO)", | |
| "command": ["src/build.py", "--test-include=emtest", "--test-param=thinltoz"] | |
| }, | |
| { | |
| "name": "Emscripten benchmark", | |
| "command": ["src/build.py", "--test-include=sizebenchmarks", "--test-param=benchmark.test_primes,benchmark.test_zzz_zlib,benchmark.test_zzz_coremark,benchmark.test_zzz_box2d,benchmark.test_zzz_bullet,benchmark.test_zzz_lua_scimark,benchmark.test_zzz_poppler,benchmark.test_zzz_sqlite,benchmark.test_zzz_lzma"] | |
| }, | |
| { | |
| "name": "Binaryen optimization benchmark", | |
| "command": ["src/build.py", "--test-include=optimizationbenchmarks"] | |
| } | |
| ] | |
| } | |
| } |