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 a3ce052
Showing 1 changed file with 16 additions and 7 deletions.
23 changes: 16 additions & 7 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a3ce052

Please sign in to comment.