Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
1vanK committed Mar 13, 2024
1 parent aa09e1e commit bb1a8cc
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,17 +102,9 @@ jobs:
c: clang-13,
cxx: clang++-13,
}
build_type:
- {
id: dbg,
value: Debug,
}
- {
id: rel,
value: Release,
}
build_type: [debug, release]

name: 🐧-${{ matrix.compiler.id }}-${{ matrix.build_type.id }}
name: 🐧-${{ matrix.compiler.id }}-${{ matrix.build_type }}

steps:
- name: Скачиваем репозиторий
Expand All @@ -124,7 +116,8 @@ jobs:
- name: Генерируем проекты
run: |
cmake repo -B build -G "Unix Makefiles" \
-D CMAKE_C_COMPILER=${{ matrix.compiler.c }} -D CMAKE_CXX_COMPILER=${{ matrix.compiler.cxx }}
-D CMAKE_C_COMPILER=${{ matrix.compiler.c }} -D CMAKE_CXX_COMPILER=${{ matrix.compiler.cxx }} \
-D CMAKE_BUILD_TYPE=${{ matrix.build_type }}
- name: Компилируем
run: |
Expand Down

0 comments on commit bb1a8cc

Please sign in to comment.