Skip to content

Commit

Permalink
removed architecture in CI since it's not working
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdcvlsc committed May 30, 2024
1 parent 0405fdc commit 5c0d7be
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions .github/workflows/ctests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,30 +8,35 @@ on:

jobs:
build-others:
name: ${{ matrix.platform.name }} C++${{matrix.config.cxx_version}} ${{matrix.architecture}}
name: ${{ matrix.platform.name }} C++${{matrix.config.cxx_version}}
runs-on: ${{ matrix.platform.os }}

strategy:
fail-fast: false
matrix:
platform:
- { name: Windows VS2019, ls: dir, os: windows-2019, flags: -DCMAKE_BUILD_TYPE=Debug }
- { name: Windows VS2022, ls: dir, os: windows-2022, flags: -DCMAKE_BUILD_TYPE=Debug }
- { 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 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++ }
- { name: Windows VS2019, gp: where, ls: dir, os: windows-2019, flags: -DCMAKE_BUILD_TYPE=Debug }
- { name: Windows VS2022, gp: where, ls: dir, os: windows-2022, flags: -DCMAKE_BUILD_TYPE=Debug }
- { name: Windows Clang, gp: where, ls: dir, os: windows-latest, flags: -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER="C\Program Files\LLVM\bin\clang" -DCMAKE_CXX_COMPILER="C\Program Files\LLVM\bin\clang++" }
- { name: Windows GCC, gp: where, ls: dir, os: windows-latest, flags: -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ }
- { name: Linux Clang, gp: which, ls: ls, os: ubuntu-latest, flags: -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ }
- { name: Linux GCC, gp: which, ls: ls, os: ubuntu-latest, flags: -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ }
- { name: MacOS XCode, gp: which, ls: ls, os: macos-latest, flags: -DCMAKE_BUILD_TYPE=Debug }
- { name: MacOS Clang, gp: which, 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
- uses: actions/checkout@v4

- name: System Info
- name: check gcc
run: gcc --version

- name: check clang
run: clang --version

- name: Config
run: cmake -S tests -B tests ${{matrix.platform.flags}} -DCMAKE_CXX_STANDARD=${{matrix.config.cxx_version}}

- name: Build
Expand Down

0 comments on commit 5c0d7be

Please sign in to comment.