From a3ce05286ec36cbfa11aa291b80c8418bdb2ee5a Mon Sep 17 00:00:00 2001 From: Igor Krivenko Date: Thu, 18 Jul 2024 18:17:37 +0200 Subject: [PATCH] CI: Debugging --- .github/workflows/build-and-test.yml | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index ed9585c..e48a622 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -13,11 +13,20 @@ jobs: build-and-test: strategy: matrix: - os: [ubuntu-20.04, macos-12] - python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] - cxx_compiler: - - { name: "gcc", cc: "gcc", cxx: "g++" } - - { name: "clang", cc: "clang", cxx: "clang++" } + #os: [ubuntu-20.04, macos-12] + #python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.12"] + os: [macos-12] + include: + - os: macos-12 + cc: gcc-11 + cxx: g++-11 + - os: macos-12 + cc: clang-14 + cxx: clang++-14 + + #- {os: macos-12, cc: "gcc-11", cxx: "g++-11"} + #- {os: macos-12, cc: "clang-14", cxx: "clang++-14" } runs-on: ${{ matrix.os }} steps: @@ -48,8 +57,8 @@ jobs: run: | export LIBCOMMUTE_DIR=${GITHUB_WORKSPACE}/libcommute.installed export LIBCOMMUTE_INCLUDEDIR=${LIBCOMMUTE_DIR}/include - export CC="${{ matrix.cxx_compiler.cc }}" - export CXX="${{ matrix.cxx_compiler.cxx }}" + export CC=$(which "${{ matrix.cc }}") + export CXX=$(which "${{ matrix.cxx }}") tox -e py - name: Lint with flake8