mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
.github/workflows/build.yml: remove trailing whitespaces
This commit is contained in:
parent
866b751b71
commit
7e6d9b0b17
30
.github/workflows/build.yml
vendored
30
.github/workflows/build.yml
vendored
@ -967,30 +967,30 @@ jobs:
|
||||
run: |
|
||||
if [ "${{ matrix.EVENT_MATRIX }}" == "DISABLE_OPENSSL" ]; then
|
||||
EVENT_CMAKE_OPTIONS="-DEVENT__DISABLE_OPENSSL=ON"
|
||||
|
||||
|
||||
elif [ "${{ matrix.EVENT_MATRIX }}" == "NO_SSL" ]; then
|
||||
EVENT_CMAKE_OPTIONS="-DEVENT__DISABLE_OPENSSL=ON -DEVENT__DISABLE_MBEDTLS=ON"
|
||||
|
||||
|
||||
elif [ "${{ matrix.EVENT_MATRIX }}" == "DISABLE_THREAD_SUPPORT" ]; then
|
||||
EVENT_CMAKE_OPTIONS="-DEVENT__DISABLE_THREAD_SUPPORT=ON"
|
||||
|
||||
|
||||
elif [ "${{ matrix.EVENT_MATRIX }}" == "DISABLE_DEBUG_MODE" ]; then
|
||||
EVENT_CMAKE_OPTIONS="-DEVENT__DISABLE_DEBUG_MODE=ON"
|
||||
|
||||
|
||||
elif [ "${{ matrix.EVENT_MATRIX }}" == "DISABLE_MM_REPLACEMENT" ]; then
|
||||
EVENT_CMAKE_OPTIONS="-DEVENT__DISABLE_MM_REPLACEMENT=ON"
|
||||
|
||||
|
||||
elif [ "${{ matrix.EVENT_MATRIX }}" == "TEST_EXPORT_STATIC" ]; then
|
||||
EVENT_CMAKE_OPTIONS="-DEVENT__LIBRARY_TYPE=STATIC -DEVENT__DISABLE_TESTS=ON -DEVENT__DISABLE_SAMPLES=ON"
|
||||
|
||||
|
||||
elif [ "${{ matrix.EVENT_MATRIX }}" == "TEST_EXPORT_SHARED" ]; then
|
||||
EVENT_CMAKE_OPTIONS="-DEVENT__LIBRARY_TYPE=SHARED -DEVENT__DISABLE_TESTS=ON -DEVENT__DISABLE_SAMPLES=ON"
|
||||
|
||||
|
||||
else
|
||||
EVENT_CMAKE_OPTIONS=""
|
||||
fi
|
||||
EVENT_CMAKE_OPTIONS="$EVENT_CMAKE_OPTIONS -DMBEDTLS_ROOT_DIR=/usr/local/opt/mbedtls@2"
|
||||
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
echo [cmake]: cmake .. $EVENT_CMAKE_OPTIONS
|
||||
@ -1065,26 +1065,26 @@ jobs:
|
||||
run: |
|
||||
export AUTOMAKE_VERSION=1.16
|
||||
export AUTOCONF_VERSION=2.71
|
||||
|
||||
|
||||
if [ "${{ matrix.EVENT_MATRIX }}" == "DISABLE_OPENSSL" ]; then
|
||||
EVENT_CONFIGURE_OPTIONS="--disable-openssl"
|
||||
|
||||
|
||||
elif [ "${{ matrix.EVENT_MATRIX }}" == "NO_SSL" ]; then
|
||||
EVENT_CONFIGURE_OPTIONS="--disable-openssl --disable-mbedtls"
|
||||
|
||||
|
||||
elif [ "${{ matrix.EVENT_MATRIX }}" == "DISABLE_THREAD_SUPPORT" ]; then
|
||||
EVENT_CONFIGURE_OPTIONS="--disable-thread-support"
|
||||
|
||||
|
||||
elif [ "${{ matrix.EVENT_MATRIX }}" == "DISABLE_DEBUG_MODE" ]; then
|
||||
EVENT_CONFIGURE_OPTIONS="--disable-debug-mode"
|
||||
|
||||
|
||||
elif [ "${{ matrix.EVENT_MATRIX }}" == "DISABLE_MM_REPLACEMENT" ]; then
|
||||
EVENT_CONFIGURE_OPTIONS="--disable-malloc-replacement"
|
||||
|
||||
|
||||
else
|
||||
EVENT_CONFIGURE_OPTIONS=""
|
||||
fi
|
||||
|
||||
|
||||
./autogen.sh
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
Loading…
x
Reference in New Issue
Block a user