Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 32 additions & 36 deletions .github/workflows/Ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,44 +22,44 @@ jobs:
fail-fast: false
matrix:
include:
- name: ubu22-x86-gcc12-clang-repl-19
os: ubuntu-22.04
- name: ubu24-x86-gcc12-clang-repl-19
os: ubuntu-24.04
compiler: gcc-12
clang-runtime: '19'
cling: Off
llvm_enable_projects: "clang"
llvm_targets_to_build: "host;NVPTX"
- name: ubu22-x86-gcc12-clang-repl-18
os: ubuntu-22.04
- name: ubu24-x86-gcc12-clang-repl-18
os: ubuntu-24.04
compiler: gcc-12
clang-runtime: '18'
cling: Off
llvm_enable_projects: "clang"
llvm_targets_to_build: "host;NVPTX"
- name: ubu22-x86-gcc9-clang18-cling
os: ubuntu-22.04
- name: ubu24-x86-gcc9-clang18-cling
os: ubuntu-24.04
compiler: gcc-9
clang-runtime: '18'
cling: On
cling-version: '1.2'
llvm_enable_projects: "clang"
llvm_targets_to_build: "host;NVPTX"
- name: ubu22-arm-gcc12-clang-repl-19
os: ubuntu-22.04-arm
- name: ubu24-arm-gcc12-clang-repl-19
os: ubuntu-24.04-arm
compiler: gcc-12
clang-runtime: '19'
cling: Off
llvm_enable_projects: "clang"
llvm_targets_to_build: "host;NVPTX"
- name: ubu22-arm-gcc12-clang-repl-18
os: ubuntu-22.04-arm
- name: ubu24-arm-gcc12-clang-repl-18
os: ubuntu-24.04-arm
compiler: gcc-12
clang-runtime: '18'
cling: Off
llvm_enable_projects: "clang"
llvm_targets_to_build: "host;NVPTX"
- name: ubu22-arm-gcc9-clang18-cling
os: ubuntu-22.04-arm
- name: ubu24-arm-gcc9-clang18-cling
os: ubuntu-24.04-arm
compiler: gcc-9
clang-runtime: '18'
cling: On
Expand Down Expand Up @@ -245,44 +245,46 @@ jobs:
fail-fast: false
matrix:
include:
- name: ubu22-x86-gcc12-clang-repl-19-cppyy
os: ubuntu-22.04
- name: ubu24-x86-gcc12-clang-repl-19-cppyy
os: ubuntu-24.04
compiler: gcc-12
clang-runtime: '19'
cling: Off
cppyy: On
- name: ubu22-x86-gcc12-clang-repl-18-cppyy
os: ubuntu-22.04
Valgrind: On
- name: ubu24-x86-gcc12-clang-repl-18-cppyy
os: ubuntu-24.04
compiler: gcc-12
clang-runtime: '18'
cling: Off
cppyy: On
- name: ubu22-x86-gcc9-clang18-cling-cppyy
os: ubuntu-22.04
- name: ubu24-x86-gcc9-clang18-cling-cppyy
os: ubuntu-24.04
compiler: gcc-9
clang-runtime: '18'
cling: On
cling-version: '1.2'
cppyy: On
- name: ubu22-arm-gcc12-clang-repl-19
os: ubuntu-22.04-arm
- name: ubu24-arm-gcc12-clang-repl-19-cppyy
os: ubuntu-24.04-arm
compiler: gcc-12
clang-runtime: '19'
cling: Off
cppyy: Off
- name: ubu22-arm-gcc12-clang-repl-18
os: ubuntu-22.04-arm
cppyy: On
Valgrind: On
- name: ubu24-arm-gcc12-clang-repl-18-cppyy
os: ubuntu-24.04-arm
compiler: gcc-12
clang-runtime: '18'
cling: Off
cppyy: Off
- name: ubu22-arm-gcc9-clang18-cling-cppyy
os: ubuntu-22.04-arm
cppyy: On
- name: ubu24-arm-gcc9-clang18-cling-cppyy
os: ubuntu-24.04-arm
compiler: gcc-9
clang-runtime: '18'
cling: On
cling-version: '1.2'
cppyy: Off
cppyy: On

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -436,14 +438,6 @@ jobs:
-DLLVM_ENABLE_WERROR=On \
../
fi
docs_on=$(echo "${{ matrix.documentation }}" | tr '[:lower:]' '[:upper:]')
if [[ "${docs_on}" == "ON" ]]; then
cmake --build . --target doxygen-cppinterop --parallel ${{ env.ncpus }}
cmake --build . --target sphinx-cppinterop --parallel ${{ env.ncpus }}
else
cmake --build . --target check-cppinterop --parallel ${{ env.ncpus }}
valgrind --show-error-list=yes --track-origins=yes --error-exitcode=1 unittests/CppInterOp/CppInterOpTests/unittests/bin/${{ env.BUILD_TYPE }}/CppInterOpTests
fi
cd ..
# We need CB_PYTHON_DIR later
echo "CB_PYTHON_DIR=$CB_PYTHON_DIR" >> $GITHUB_ENV
Expand Down Expand Up @@ -573,7 +567,9 @@ jobs:
SUPPRESSION_FILE="../etc/${CLANG_INTERPRETER}${CLANG_VERSION}-valgrind.supp"
fi
export IS_VALGRIND=true
valgrind --show-error-list=yes --error-exitcode=1 --track-origins=yes --suppressions="${SUPPRESSION_FILE}" --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -sv -ra
if [[ "${{ matrix.Valgrind }}" == "On" ]]; then
valgrind --show-error-list=yes --error-exitcode=1 --track-origins=yes --suppressions="${SUPPRESSION_FILE}" --suppressions=../etc/valgrind-cppyy-cling.supp python -m pytest -m "not xfail" -sv -ra
fi
unset IS_VALGRIND
export RETCODE=+$?
echo ::endgroup::
Expand Down