Skip to content

Commit

Permalink
.github/workflows/devshell.yml: make sure we use the right C++ compil…
Browse files Browse the repository at this point in the history
…er associated with CC

Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
  • Loading branch information
bazsi committed Dec 3, 2023
1 parent 27db599 commit a141980
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/devshell.yml
Expand Up @@ -39,6 +39,7 @@ jobs:
# Setup build time environment variables
PYTHONUSERBASE="${HOME}/python_packages"
CC="${{ matrix.cc }}"
CXX=`[ $CC = gcc ] && echo g++ || echo clang++`
SYSLOG_NG_INSTALL_DIR=${HOME}/install/syslog-ng
CONFIGURE_FLAGS="
--prefix=${SYSLOG_NG_INSTALL_DIR}
Expand All @@ -56,7 +57,7 @@ jobs:
-DCMAKE_INSTALL_PREFIX=${HOME}/install/syslog-ng
-DPYTHON_VERSION=3
"
gh_export COREFILES_DIR PYTHONUSERBASE CC SYSLOG_NG_INSTALL_DIR CONFIGURE_FLAGS CMAKE_FLAGS
gh_export COREFILES_DIR PYTHONUSERBASE CC CXX SYSLOG_NG_INSTALL_DIR CONFIGURE_FLAGS CMAKE_FLAGS
gh_path "${PYTHONUSERBASE}"
- name: autogen.sh
Expand Down

0 comments on commit a141980

Please sign in to comment.