Skip to content

Commit 9914b04

Browse files
committed
sudo: preserve env
1 parent 4150599 commit 9914b04

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/tooling.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
run: |
2121
sudo apt-get update
2222
sudo apt-get install clang clang-tidy gfortran libopenmpi-dev python-is-python3
23-
SPACK_VER=1.0.1 sudo .github/workflows/dependencies/install_spack
23+
SPACK_VER=1.0.1 sudo -E .github/workflows/dependencies/install_spack
2424
echo "SPACK VERSION: $(spack --version)"
2525
- name: Build
2626
env: {CC: clang, CXX: clang++}
@@ -50,7 +50,7 @@ jobs:
5050
run: |
5151
sudo apt-get update
5252
sudo apt-get install clang-14 libc++-dev libc++abi-dev python3 gfortran libopenmpi-dev python3-numpy
53-
SPACK_VER=1.0.1 sudo .github/workflows/dependencies/install_spack
53+
SPACK_VER=1.0.1 sudo -E .github/workflows/dependencies/install_spack
5454
echo "SPACK VERSION: $(spack --version)"
5555
- name: Build
5656
env: {CC: mpicc, CXX: mpic++, OMPI_CC: clang-14, OMPI_CXX: clang++-14, CXXFLAGS: -Werror, OPENPMD_HDF5_CHUNKS: none, OPENPMD_TEST_NFILES_MAX: 100}

0 commit comments

Comments
 (0)