Skip to content

Commit

Permalink
reduce matrix complexity
Browse files Browse the repository at this point in the history
can be re-added if new containers are added
  • Loading branch information
forgottosave committed Oct 16, 2024
1 parent ac31c37 commit 48a6b4d
Showing 1 changed file with 7 additions and 17 deletions.
24 changes: 7 additions & 17 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ jobs:
fedora-clang:
strategy:
matrix:
container: ["fedora:latest"]
buildType: [Debug, Release]
runs-on: ubuntu-latest
container: ${{ matrix.container }}
container: "fedora:latest"
steps:
- name: Update package list
run: dnf update -y
Expand All @@ -44,10 +43,9 @@ jobs:
fedora-gcc:
strategy:
matrix:
container: ["fedora:latest"]
buildType: [Debug, Release]
runs-on: ubuntu-latest
container: ${{ matrix.container }}
container: "fedora:latest"
steps:
- name: Update package list
run: dnf update -y
Expand Down Expand Up @@ -100,12 +98,8 @@ jobs:
ctest-options: ${{ env.CTEST_OPTIONS }}

clang-tidy:
strategy:
matrix:
container: ["fedora:latest"]
buildType: [Debug]
runs-on: ubuntu-latest
container: ${{ matrix.container }}
container: "fedora:latest"
steps:
- name: Update package list
run: sudo dnf update -y
Expand All @@ -124,13 +118,13 @@ jobs:
source-dir: ${{github.workspace}}
cc: clang
cxx: clang++
build-type: ${{ matrix.buildType }}
build-type: Debug
run-test: false
configure-options: -DCPR_ENABLE_LINTING=ON

clang-format:
runs-on: ubuntu-latest
container: fedora:latest
container: "fedora:latest"
steps:
- name: Update package list
run: sudo dnf update -y
Expand All @@ -142,12 +136,8 @@ jobs:
run: bash scripts/check_clang_format.sh

cppcheck:
strategy:
matrix:
container: ["fedora:latest"]
buildType: [Release]
runs-on: ubuntu-latest
container: ${{ matrix.container }}
container: "fedora:latest"
steps:
- name: Update package list
run: dnf update -y
Expand All @@ -168,5 +158,5 @@ jobs:
source-dir: ${{ github.workspace }}
cc: gcc
cxx: g++
build-type: ${{ matrix.buildType }}
build-type: Release
run-test: false

0 comments on commit 48a6b4d

Please sign in to comment.