From f5be4ab78b2f8839e4578901ce31a263a5ad2565 Mon Sep 17 00:00:00 2001 From: mrdcvlsc Date: Thu, 30 May 2024 21:37:03 +0800 Subject: [PATCH] add architecture x86 support in CI --- .github/workflows/ctests.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ctests.yml b/.github/workflows/ctests.yml index 21b5e32..e7f7c7d 100644 --- a/.github/workflows/ctests.yml +++ b/.github/workflows/ctests.yml @@ -8,7 +8,7 @@ on: jobs: build-others: - name: ${{ matrix.platform.name }}-C++${{matrix.config.cxx_version}} + name: ${{ matrix.platform.name }} C++${{matrix.config.cxx_version}} runs-on: ${{ matrix.platform.os }} strategy: @@ -20,11 +20,13 @@ jobs: - { name: Windows Clang, ls: dir, os: windows-2022, flags: -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ } - { name: Windows GCC, ls: dir, os: windows-2022, flags: -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ } - { name: Linux Clang, ls: ls, os: ubuntu-latest, flags: -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ } - - { name: Linux, ls: ls, os: ubuntu-latest, flags: -DCMAKE_BUILD_TYPE=Debug } + - { name: Linux GCC, ls: ls, os: ubuntu-latest, flags: -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ } - { name: MacOS XCode, ls: ls, os: macos-latest, flags: -DCMAKE_BUILD_TYPE=Debug } + - { name: MacOS Clang, ls: ls, os: macos-latest, flags: -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ } config: - { cxx_version: 20 } - { cxx_version: 23 } + architecture: [x64, x86] steps: - uses: actions/checkout@v3