flowey_hvlite/pipelines_shared/
ado_pools.rs1use flowey::node::prelude::FlowPlatformLinuxDistro;
7use flowey::pipeline::prelude::*;
8
9pub const WINDOWS_INTEL: &str = "HvLite-CI-Win-Pool";
10pub const WINDOWS_AMD: &str = "HvLite-CI-Win-Pool-WestUS2";
11pub const LINUX: &str = "HvLite-CI-Linux-Pool-CentralUS";
12
13pub fn default_x86_pool(platform: FlowPlatform) -> &'static str {
14 match platform {
15 FlowPlatform::Windows => WINDOWS_INTEL,
16 FlowPlatform::Linux(FlowPlatformLinuxDistro::Ubuntu) => LINUX,
17 platform => panic!("unsupported platform {platform}"),
18 }
19}