Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ jobs:
export CC=/usr/bin/clang-14
export CXX=/usr/bin/clang++-14
export KRATOS_CMAKE_CXX_FLAGS="-Werror -Wno-deprecated-declarations"
export KRATOS_CMAKE_OPTIONS_FLAGS="-DMMG_ROOT=/external_libraries/mmg/mmg_5_5_1/"
export KRATOS_CMAKE_OPTIONS_FLAGS="-DMMG_ROOT=/external_libraries/mmg/mmg_5_5_1/"
else
echo 'Unsupported compiler: ${{ matrix.compiler }}'
exit 1
Expand Down Expand Up @@ -311,7 +311,7 @@ jobs:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true

container:
image: kratosmultiphysics/kratos-image-ci-rockylinux-8:latest
image: kratosmultiphysics/kratos-image-ci-rocky8:latest
options: --user 1001

steps:
Expand All @@ -326,18 +326,21 @@ jobs:

- name: Build
run: |
if [ -f /etc/bashrc ]; then source /etc/bashrc; fi
export KRATOS_CMAKE_CXX_FLAGS="-Werror -Wno-deprecated-declarations -Wignored-qualifiers"
cp .github/workflows/rocky_configure.sh rocky_configure.sh
bash rocky_configure.sh

- name: Running C++ tests
run: |
if [ -f /etc/bashrc ]; then source /etc/bashrc; fi
export PYTHONPATH=${GITHUB_WORKSPACE}/bin/Custom
export LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/bin/Custom/libs
python3.8 kratos/python_scripts/testing/run_cpp_tests.py

- name: Running python tests
run: |
if [ -f /etc/bashrc ]; then source /etc/bashrc; fi
export PYTHONPATH=${GITHUB_WORKSPACE}/bin/Custom
export LD_LIBRARY_PATH=${GITHUB_WORKSPACE}/bin/Custom/libs
python3.8 kratos/python_scripts/testing/run_python_tests.py -l nightly -c python3.8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ ENV HOME /root
RUN dnf -y install gcc-toolset-11

# Enable devtools 11 every time a shell is started
# TODO: /etc/bashrc is never executed so this line does not fulfill its purpose => fix it.
RUN echo "source /opt/rh/gcc-toolset-11/enable" >> /etc/bashrc

# Install python3.8.10
Expand Down
Loading