Skip to content

Commit

Permalink
CI: Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
krivenko committed Jul 18, 2024
1 parent 67896d9 commit 6fb6cbf
Showing 1 changed file with 19 additions and 7 deletions.
26 changes: 19 additions & 7 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,23 @@ 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"]
os: [macos-12]
python-version: ["3.12"]
compiler: ["gcc", "clang"]
include:
- os: macos-12
compiler: gcc
cc: gcc-11
cxx: g++-11
- os: macos-12
compiler: clang
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:
Expand Down Expand Up @@ -48,8 +60,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
Expand Down

0 comments on commit 6fb6cbf

Please sign in to comment.