-
-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
on all platforms added CROW_FEATURES ssl, compression and needed libs…
… to prerequisites general tests are now enabled on MSVC, mustachetests disabled due to some strange bug in python script (will be done later)
- Loading branch information
Showing
5 changed files
with
79 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,9 +22,11 @@ jobs: | |
strategy: | ||
fail-fast: true | ||
matrix: | ||
os: [ ubuntu-latest, ubuntu-20.04, | ||
macos-latest, macos-11, | ||
windows-latest | ||
os: [ ubuntu-latest, | ||
windows-latest, | ||
ubuntu-20.04, | ||
macos-latest, | ||
macos-11 | ||
] | ||
# ubuntu-18.04 does not work due to compile error on asio | ||
# windows-2019 not included to spare free minutes | ||
|
@@ -36,11 +38,12 @@ jobs: | |
sudo apt-get update && \ | ||
sudo apt-get install -yq \ | ||
libasio-dev \ | ||
libssl-dev zlib1g-dev \ | ||
cmake | ||
elif [ "$RUNNER_OS" == "Windows" ]; then | ||
VCPKG_DEFAULT_TRIPLET=x64-windows vcpkg install | ||
elif [ "$RUNNER_OS" == "macOS" ]; then | ||
brew install asio | ||
brew install asio openssl zlib | ||
else | ||
echo "$RUNNER_OS not supported" | ||
exit 1 | ||
|
@@ -51,12 +54,25 @@ jobs: | |
run: | | ||
if [ "$RUNNER_OS" == "Windows" ]; then | ||
cmake \ | ||
-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake \ | ||
-DCROW_FEATURES="ssl;compression" \ | ||
-DCROW_AMALGAMATE=ON \ | ||
-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake \ | ||
-DCROW_FEATURES="ssl;compression" \ | ||
-DCROW_AMALGAMATE=ON \ | ||
-DCROW_BUILD_TESTS=ON \ | ||
-B build | ||
elif [ "$RUNNER_OS" == "macOS" ]; then | ||
LDFLAGS="-L/usr/local/opt/[email protected]/lib" \ | ||
CPPFLAGS="-I/usr/local/opt/[email protected]/include" \ | ||
cmake \ | ||
-DCROW_FEATURES="ssl;compression" \ | ||
-DCROW_AMALGAMATE=ON \ | ||
-DCROW_BUILD_TESTS=ON \ | ||
-B build | ||
else | ||
cmake \ | ||
-DCROW_FEATURES="ssl;compression" \ | ||
-DCROW_AMALGAMATE=ON \ | ||
-DCROW_BUILD_TESTS=ON \ | ||
-B build | ||
else | ||
cmake -B build | ||
fi | ||
shell: bash | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters