Skip to content

Commit 42dc809

Browse files
committed
Try python3.10 for ASAN UBSAN run
1 parent 09fc3d9 commit 42dc809

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/tooling.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ jobs:
4747
- name: Install
4848
run: |
4949
sudo apt-get update
50-
sudo apt-get install clang-10 libc++-dev libc++abi-dev python3 gfortran libopenmpi-dev
51-
python3 -m pip install -U pip
52-
python3 -m pip install -U numpy
50+
sudo apt-get install clang-10 libc++-dev libc++abi-dev python3.10 gfortran libopenmpi-dev
51+
python3.10 -m pip install -U pip
52+
python3.10 -m pip install -U numpy
5353
sudo .github/workflows/dependencies/install_spack
5454
- name: Build
5555
env: {CC: mpicc, CXX: mpic++, OMPI_CC: clang-10, OMPI_CXX: clang++-10, CXXFLAGS: -Werror, OPENPMD_HDF5_CHUNKS: none, OPENPMD_TEST_NFILES_MAX: 100}
@@ -66,6 +66,7 @@ jobs:
6666
-DopenPMD_USE_HDF5=ON \
6767
-DopenPMD_USE_ADIOS2=ON \
6868
-DopenPMD_USE_INVASIVE_TESTS=ON \
69+
-DPython_EXECUTABLE="$(which python3.10)" \
6970
-DCMAKE_VERBOSE_MAKEFILE=ON
7071
cmake --build build --parallel 2
7172
export ASAN_OPTIONS=detect_stack_use_after_return=1:detect_leaks=1:check_initialization_order=true:strict_init_order=true:detect_stack_use_after_scope=1:fast_unwind_on_malloc=0

0 commit comments

Comments
 (0)