Skip to content

Commit

Permalink
Fixed a script of not functioning environment in Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ggtakec authored and gaul committed Nov 15, 2023
1 parent 3f6e8a8 commit 4fdd245
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/linux-ci-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ AWSCLI_ZIP_FILE="awscliv2.zip"
#-----------------------------------------------------------
# Parameters for configure(set environments)
#-----------------------------------------------------------
# shellcheck disable=SC2089
CONFIGURE_OPTIONS="CXXFLAGS='-O -std=c++03 -DS3FS_PTHREAD_ERRORCHECK=1' --prefix=/usr --with-openssl"
CXXFLAGS="-O -DS3FS_PTHREAD_ERRORCHECK=1"
CONFIGURE_OPTIONS="--prefix=/usr --with-openssl"

#-----------------------------------------------------------
# OS dependent variables
Expand Down Expand Up @@ -290,8 +290,8 @@ fi
#-----------------------------------------------------------
echo "${PRGNAME} [INFO] Set environment for configure options"

# shellcheck disable=SC2090
export CONFIGURE_OPTIONS
echo "CXXFLAGS=${CXXFLAGS}" >> "${GITHUB_ENV}"
echo "CONFIGURE_OPTIONS=${CONFIGURE_OPTIONS}" >> "${GITHUB_ENV}"

echo "${PRGNAME} [INFO] Finish Linux helper for installing packages."

Expand Down

0 comments on commit 4fdd245

Please sign in to comment.