File tree Expand file tree Collapse file tree 3 files changed +39
-1
lines changed Expand file tree Collapse file tree 3 files changed +39
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Ubuntu24.04
2+
3+ on :
4+ push :
5+ branches : [ "master" ]
6+ pull_request :
7+ branches : [ "master" ]
8+
9+ env :
10+ BUILD_TYPE : Release
11+
12+ jobs :
13+ build :
14+ runs-on : ubuntu-24.04
15+ steps :
16+
17+ - uses : actions/checkout@v4
18+ with :
19+ submodules : recursive
20+
21+ - uses : awalsh128/cache-apt-pkgs-action@latest
22+ with :
23+ packages : g++ cmake make libjsoncpp-dev libc-ares-dev libspdlog-dev uuid-dev libz-dev libssl-dev
24+ execute_install_scripts : true
25+
26+ - run : sudo apt install -yq libboost-program-options-dev
27+
28+ - name : Build
29+ run : |
30+ cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
31+ cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --parallel 4
32+
33+ - uses : actions/upload-artifact@v4
34+ with :
35+ name : simple_inference_server
36+ path : ${{github.workspace}}/build/simple_inference_server
37+ if-no-files-found : error
Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ set(BUILD_SHARED_LIBS OFF CACHE BOOL "Build drogon as a shared lib")
99set (USE_SPDLOG ON CACHE BOOL "Use spdlog" )
1010set (BUILD_BROTLI OFF CACHE BOOL "Build Brotli" )
1111set (BUILD_YAML_CONFIG OFF CACHE BOOL "Build yaml config" )
12+ option (BUILD_EXAMPLES "Build examples" OFF )
13+ option (BUILD_CTL "Build drogon_ctl" OFF )
1214add_subdirectory (3rdparty/drogon)
1315
1416set (Boost_USE_STATIC_LIBS ON )
Original file line number Diff line number Diff line change 1- #include < boost/lockfree/queue.hpp>
21#include < drogon/drogon.h>
32#include < fmt/format.h>
43#include < boost/program_options.hpp>
You can’t perform that action at this time.
0 commit comments