From 18c14f249516ba6c54f75444e3a6a877af4d781f Mon Sep 17 00:00:00 2001 From: yaito3014 Date: Mon, 12 Aug 2024 22:35:47 +0900 Subject: [PATCH] remove unneccesary code --- .github/workflows/run_test.yml | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/.github/workflows/run_test.yml b/.github/workflows/run_test.yml index 41cc811..fd547a6 100644 --- a/.github/workflows/run_test.yml +++ b/.github/workflows/run_test.yml @@ -16,24 +16,14 @@ jobs: matrix: os: [ubuntu-latest, windows-latest] build_type: [Release] - c_compiler: [gcc, clang, cl] - include: - - os: windows-latest - c_compiler: cl - cpp_compiler: cl - - os: ubuntu-latest - c_compiler: gcc - cpp_compiler: g++ - - os: ubuntu-latest - c_compiler: clang - cpp_compiler: clang++ + compiler: [g++, clang++, cl] exclude: + - os: ubuntu-latest + compiler: cl - os: windows-latest - c_compiler: gcc + compiler: g++ - os: windows-latest - c_compiler: clang - - os: ubuntu-latest - c_compiler: cl + compiler: clang++ steps: - uses: actions/checkout@v4 @@ -47,8 +37,7 @@ jobs: - name: Configure CMake run: > cmake -B ${{ steps.strings.outputs.build-output-dir }} - -DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }} - -DCMAKE_C_COMPILER=${{ matrix.c_compiler }} + -DCMAKE_CXX_COMPILER=${{ matrix.compiler }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -S ${{ github.workspace }}