From 9ab7eb0c5777894205bd9d730baf59d277cd6acc Mon Sep 17 00:00:00 2001 From: Andrey Semashev Date: Wed, 11 Jun 2025 02:58:03 +0300 Subject: [PATCH] Added Linux and Windows GitHub Actions jobs on ARM. --- .github/workflows/ci.yml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ec0e67..aec1ee0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -411,6 +411,16 @@ jobs: - libc++-18-dev - libc++abi-18-dev + - name: ARM + toolset: gcc-13 + cxxstd64: "11,14,17,20,23,11-gnu,14-gnu,17-gnu,20-gnu,23-gnu" + cxxstd32: "11,11-gnu" + instruction_set: "-" + os: ubuntu-24.04-arm + container: ubuntu:24.04 + install: + - g++-13 + - toolset: clang vm: freebsd version: "15.0" @@ -905,6 +915,13 @@ jobs: cxxstd64: "11-gnu,14-gnu,17-gnu,20-gnu,23-gnu" os: windows-2022 + # Windows SDK 32-bit ARM libs not installed in this image + - name: ARM + toolset: msvc-14.3 + cxxstd64: "14,17,20,latest" + instruction_set: "-" + os: windows-11-arm + - name: CMake MSVC tests cmake_tests: 1 os: windows-2022 @@ -960,7 +977,11 @@ jobs: cd boost-root set "B2_ARGS=-j %NUMBER_OF_PROCESSORS% toolset=${{matrix.toolset}} embed-manifest-via=linker" if not "${{matrix.build_variant}}" == "" ( set "B2_ARGS=%B2_ARGS% variant=${{matrix.build_variant}}" ) else ( set "B2_ARGS=%B2_ARGS% variant=%DEFAULT_BUILD_VARIANT%" ) - if not "${{matrix.instruction_set}}" == "" ( set "B2_ARGS=%B2_ARGS% instruction-set=${{matrix.instruction_set}}" ) else ( set "B2_ARGS=%B2_ARGS% instruction-set=%DEFAULT_INSTRUCTION_SET%" ) + if not "${{matrix.instruction_set}}" == "" ( + if not "${{matrix.instruction_set}}" == "-" set "B2_ARGS=%B2_ARGS% instruction-set=${{matrix.instruction_set}}" + ) else ( + set "B2_ARGS=%B2_ARGS% instruction-set=%DEFAULT_INSTRUCTION_SET%" + ) if not "${{matrix.cxxflags}}" == "" set "B2_ARGS=%B2_ARGS% ^"cxxflags=${{matrix.cxxflags}}^"" if not "${{matrix.linkflags}}" == "" set "B2_ARGS=%B2_ARGS% ^"linkflags=${{matrix.linkflags}}^"" if not "${{matrix.cxxstd64}}" == "" (