From d83f38369041f40e3bd76c949d149ceb5feaed4e Mon Sep 17 00:00:00 2001 From: Ashcon Partovi Date: Tue, 25 Jun 2024 16:05:40 -0700 Subject: [PATCH] CI changes --- .buildkite/ci.yml | 154 +++++++++++++++++++++++----------------------- 1 file changed, 77 insertions(+), 77 deletions(-) diff --git a/.buildkite/ci.yml b/.buildkite/ci.yml index fc05e6faec..68fbfad5fc 100644 --- a/.buildkite/ci.yml +++ b/.buildkite/ci.yml @@ -741,84 +741,84 @@ steps: # Windows x64-baseline - key: "windows-x64-baseline" - # group: ":windows: x64-baseline" - # steps: - # - key: "bun-windows-x64-baseline-build-deps" - # label: ":windows: x64-baseline - build-deps" - # agents: - # queue: "build-windows" - # os: "windows" - # arch: "x64" - # artifact_paths: - # - "build\\bun-deps\\*.lib" - # env: - # CPU_TARGET: "nehalem" - # SCCACHE_DIR: "$$HOME\\.cache\\sccache" - # ZIG_LOCAL_CACHE_DIR: "$$HOME\\.cache\\zig-cache" - # command: - # - ".\\scripts\\all-dependencies.ps1" + group: ":windows: x64-baseline" + steps: + - key: "bun-windows-x64-baseline-build-deps" + label: ":windows: x64-baseline - build-deps" + agents: + queue: "build-windows" + os: "windows" + arch: "x64" + artifact_paths: + - "build\\bun-deps\\*.lib" + env: + CPU_TARGET: "nehalem" + SCCACHE_DIR: "$$HOME\\.cache\\sccache" + ZIG_LOCAL_CACHE_DIR: "$$HOME\\.cache\\zig-cache" + command: + - ".\\scripts\\all-dependencies.ps1" - # - key: "bun-windows-x64-baseline-build-zig" - # label: ":windows: x64-baseline - build-zig" - # agents: - # queue: "build-darwin" - # os: "darwin" # cross-compile on Linux or Darwin - # arch: "aarch64" - # artifact_paths: - # - "build/bun-zig.o" - # env: - # CPU_TARGET: "nehalem" - # SCCACHE_DIR: "$$HOME\\.cache\\sccache" - # ZIG_LOCAL_CACHE_DIR: "$$HOME\\.cache\\zig-cache" - # command: - # - "./scripts/build-bun-zig.sh windows x64" + - key: "bun-windows-x64-baseline-build-zig" + label: ":windows: x64-baseline - build-zig" + agents: + queue: "build-darwin" + os: "darwin" # cross-compile on Linux or Darwin + arch: "aarch64" + artifact_paths: + - "build/bun-zig.o" + env: + CPU_TARGET: "nehalem" + SCCACHE_DIR: "$$HOME\\.cache\\sccache" + ZIG_LOCAL_CACHE_DIR: "$$HOME\\.cache\\zig-cache" + command: + - "./scripts/build-bun-zig.sh windows x64" - # - key: "bun-windows-x64-baseline-build-cpp" - # label: ":windows: x64-baseline - build-cpp" - # agents: - # queue: "build-windows" - # os: "windows" - # arch: "x64" - # artifact_paths: - # - "build\\bun-cpp-objects.a" - # env: - # CPU_TARGET: "nehalem" - # SCCACHE_DIR: "$$HOME\\.cache\\sccache" - # ZIG_LOCAL_CACHE_DIR: "$$HOME\\.cache\\zig-cache" - # command: - # - ".\\scripts\\build-bun-cpp.ps1 -Baseline $$True -Fast $$True" + - key: "bun-windows-x64-baseline-build-cpp" + label: ":windows: x64-baseline - build-cpp" + agents: + queue: "build-windows" + os: "windows" + arch: "x64" + artifact_paths: + - "build\\bun-cpp-objects.a" + env: + CPU_TARGET: "nehalem" + SCCACHE_DIR: "$$HOME\\.cache\\sccache" + ZIG_LOCAL_CACHE_DIR: "$$HOME\\.cache\\zig-cache" + command: + - ".\\scripts\\build-bun-cpp.ps1 -Baseline $$True -Fast $$True" - # - key: "bun-windows-x64-baseline-build-bun" - # label: ":windows: x64-baseline - build-bun" - # depends_on: - # - "bun-windows-x64-baseline-build-deps" - # - "bun-windows-x64-baseline-build-zig" - # - "bun-windows-x64-baseline-build-cpp" - # agents: - # queue: "build-windows" - # os: "windows" - # arch: "x64" - # artifact_paths: - # - "bun-windows-x64-baseline.zip" - # - "bun-windows-x64-baseline-profile.zip" - # - "features.json" - # env: - # CPU_TARGET: "nehalem" - # SCCACHE_DIR: "$$HOME\\.cache\\sccache" - # ZIG_LOCAL_CACHE_DIR: "$$HOME\\.cache\\zig-cache" - # command: - # - ".\\scripts\\buildkite-link-bun.ps1 -Baseline $$True -Fast $$True" + - key: "bun-windows-x64-baseline-build-bun" + label: ":windows: x64-baseline - build-bun" + depends_on: + - "bun-windows-x64-baseline-build-deps" + - "bun-windows-x64-baseline-build-zig" + - "bun-windows-x64-baseline-build-cpp" + agents: + queue: "build-windows" + os: "windows" + arch: "x64" + artifact_paths: + - "bun-windows-x64-baseline.zip" + - "bun-windows-x64-baseline-profile.zip" + - "features.json" + env: + CPU_TARGET: "nehalem" + SCCACHE_DIR: "$$HOME\\.cache\\sccache" + ZIG_LOCAL_CACHE_DIR: "$$HOME\\.cache\\zig-cache" + command: + - ".\\scripts\\buildkite-link-bun.ps1 -Baseline $$True -Fast $$True" - # - key: "bun-windows-x64-baseline-test-bun" - # label: ":windows: x64-baseline - test-bun" - # parallelism: 5 - # soft_fail: - # - exit_status: 1 - # depends_on: - # - "bun-windows-x64-baseline-build-bun" - # agents: - # robobun: "true" - # os: "windows" - # arch: "x64" - # command: - # - "node .\\scripts\\runner.node.mjs bun-windows-x64-baseline-build-bun" + - key: "bun-windows-x64-baseline-test-bun" + label: ":windows: x64-baseline - test-bun" + parallelism: 5 + soft_fail: + - exit_status: 1 + depends_on: + - "bun-windows-x64-baseline-build-bun" + agents: + robobun: "true" + os: "windows" + arch: "x64" + command: + - "node .\\scripts\\runner.node.mjs bun-windows-x64-baseline-build-bun"