From 7c8b0517a28e720398f0ef8e80d33a7592ea8d4a Mon Sep 17 00:00:00 2001 From: Tamino Bauknecht Date: Tue, 2 Jul 2024 15:19:44 +0200 Subject: [PATCH] ci: Use alpine v3.20 besides 3.19 for Python 3.12 To reduce the number of workflows, only run some combinations. --- .github/workflows/cpp-build.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cpp-build.yml b/.github/workflows/cpp-build.yml index 10c9e60..d8abbe1 100644 --- a/.github/workflows/cpp-build.yml +++ b/.github/workflows/cpp-build.yml @@ -29,13 +29,24 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - cpp17_compatibility: [ "ON", "OFF" ] - cpp_compiler: [ "g++", "clang++" ] + include: + - cpp_compiler: "g++" + alpine_version: "v3.20" + cpp17_compatibility: "ON" + - cpp_compiler: "clang++" + alpine_version: "v3.19" + cpp17_compatibility: "OFF" + - cpp_compiler: "g++" + alpine_version: "v3.19" + cpp17_compatibility: "OFF" + - cpp_compiler: "clang++" + alpine_version: "v3.20" + cpp17_compatibility: "ON" steps: - uses: actions/checkout@v3 - uses: jirutka/setup-alpine@v1 with: - branch: v3.19 + branch: ${{ matrix.alpine_version }} - name: Install dependencies run: | apk update