diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4c2be89c..681434af 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,7 +19,7 @@ jobs: build: strategy: matrix: - os: ['windows-latest', 'macOS-latest'] + os: ['windows-2022', 'macOS-latest'] runs-on: ${{ matrix.os }} diff --git a/.github/workflows/publish-conan-recipes.yml b/.github/workflows/publish-conan-recipes.yml index 02c35184..4fcf6b26 100644 --- a/.github/workflows/publish-conan-recipes.yml +++ b/.github/workflows/publish-conan-recipes.yml @@ -29,7 +29,7 @@ jobs: # cppstd is pinned per platform to match the binaries already on the remote; consumers on a # higher standard (the engine uses C++20) still match via Conan's default compatibility plugin. include: - - os: windows-latest + - os: windows-2022 cppstd: '17' - os: macOS-latest cppstd: gnu17 diff --git a/ThirdParty/ConanRecipes/build_recipes.py b/ThirdParty/ConanRecipes/build_recipes.py index 384f1daa..46296bc8 100644 --- a/ThirdParty/ConanRecipes/build_recipes.py +++ b/ThirdParty/ConanRecipes/build_recipes.py @@ -132,7 +132,10 @@ def parse_args() -> argparse.Namespace: "--build", default="missing", help="conan --build policy (passed as --build=)" ) parser.add_argument( - "--profile", action="append", default=[], help="conan profile (repeatable)" + "--profile", + action="append", + default=[], + help="conan profile applied to both host and build (repeatable)", ) parser.add_argument( "--conan-arg", @@ -193,7 +196,7 @@ def build_all(args: argparse.Namespace, recipes: list[Recipe], host: str): create_extra: list[str] = [] for profile in args.profile: - create_extra += ["-pr", profile] + create_extra += ["-pr:h", profile, "-pr:b", profile] create_extra += args.conan_args for index, recipe in enumerate(recipes, start=1):