* Fix formatting in CMakeLists * Add SYNERGY_NO_LEGACY environment flag * Add build script for Windows * Find_package for OpenSSL * Move build scrits to scripts folder * Add macOS and Linux build scripts * Add environment variable * Compile core with static openssl * Default builds to Release * Streamline OpenSSL dependancies * Remove openssl from repo * Change actions to test actions * Add zip creation to build scripts * Re-add original tests * Add action value output * Build per platform on release * Fix path for core build * Temporarily keep artifacts * Set execute flag * Zip before archiving * Static build only for windows * Remove -m flag from zip * Change zip to tar * Fix workflow name * Add hints to openssl on mac * Fix zip files * Fix verbose flag on tar * Remove path on download artifacts * Try an array of build targets * Extract action binaries * Install full openssl * Add 32bit openssl * Modify installer to use the openssl.exe from ext * Install OpenSSL full for windows release build * Add openssl installation during windows CI * Modify changelog * Add enhancments section * Remove bottom line in changelog
17 lines
528 B
Bash
Executable file
17 lines
528 B
Bash
Executable file
#! /bin/zsh
|
|
|
|
export SYNERGY_NO_LEGACY=1
|
|
CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-Release}
|
|
mkdir -p build
|
|
pushd build
|
|
cmake -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl \
|
|
-DOPENSSL_LIBRARIES=/usr/local/opt/openssl/lib \
|
|
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 \
|
|
-DCMAKE_OSX_ARCHITECTURES=x86_64 \
|
|
-DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE \
|
|
..
|
|
make synergyc synergys
|
|
zip synergy-core-macos-x64.zip bin/*
|
|
echo "::set-output name=location::build\synergy-core-macos-x64.zip"
|
|
echo "::set-output name=name::synergy-core-macos-x64.zip"
|
|
popd
|