Skip to content

Commit

Permalink
remove unneccesary code
Browse files Browse the repository at this point in the history
  • Loading branch information
yaito3014 committed Aug 12, 2024
1 parent c98b148 commit 18c14f2
Showing 1 changed file with 6 additions and 17 deletions.
23 changes: 6 additions & 17 deletions .github/workflows/run_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit 18c14f2

Please sign in to comment.