This repository was archived by the owner on Feb 13, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +31
-1
lines changed Expand file tree Collapse file tree 3 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 88 types : [ created ]
99
1010jobs :
11+ windows-qt :
12+ runs-on : windows-2019
13+ steps :
14+ - uses : actions/checkout@v1
15+ with :
16+ fetch-depth : 1
17+ - name : Install Qt
18+ uses : jurplel/install-qt-action@v2
19+ with :
20+ modules : qtwebengine
21+ - name : Install dependencies
22+ shell : bash
23+ run : |
24+ choco install openssl
25+ - name : Build the application
26+ shell : bash
27+ run : |
28+ mkdir build
29+ cd build
30+ export CMAKE_PREFIX_PATH="$Qt5_Dir/lib/cmake"
31+ export PATH="$Qt5_Dir/bin":"$PATH"
32+ kit=$(ls "/c/Program Files (x86)/Windows Kits/10/bin/"*"/x64/mc.exe" | head -n1 | sed s/mc.exe//)
33+ export PATH="$kit":"$PATH"
34+ export OPENSSL_ROOT_DIR="/c/Program Files/OpenSSL-Win64"
35+ cmake -DCMAKE_BUILD_TYPE=Release -DTOGGL_BUILD_TESTS=OFF -DOPENSSL_ROOT_DIR="${OPENSSL_ROOT_DIR}" ..
36+ cmake --build . --config Release -- -m
37+
1138 macos-qt :
1239 runs-on : macOS-latest
1340 steps :
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ option(INSTALL_HIRES_ICONS "Do not install icons over 512x512" OFF)
2121option (TOGGL_BUILD_TESTS "Build the Toggl test suite" ON )
2222
2323set (ENV{OPENSSL_ROOT_DIR} ${OPENSSL_ROOT_DIR} )
24+ if (NOT "${OPENSSL_ROOT_DIR} " STREQUAL "" )
25+ include_directories ("${OPENSSL_ROOT_DIR} /include" )
26+ endif ()
2427
2528set (ENV{OPENSSL_ROOT_DIR} ${OPENSSL_ROOT_DIR} )
2629if (NOT "${OPENSSL_ROOT_DIR} " STREQUAL "" )
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ include_directories(
3030 ${LUA_INCLUDE_DIRS}
3131 ${JSONCPP_INCLUDE_DIRS}
3232 ${POCO_INCLUDE_DIRS}
33- $ENV{OPENSSL_ROOT_DIR} /include
33+ " $ENV{OPENSSL_ROOT_DIR} /include"
3434)
3535
3636# TogglDesktopLibrary sources
You can’t perform that action at this time.
0 commit comments