Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/ubuntu24.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Ubuntu24.04

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

env:
BUILD_TYPE: Release

jobs:
build:
runs-on: ubuntu-24.04
steps:

- uses: actions/checkout@v4
with:
submodules: recursive

- uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: g++ cmake make libjsoncpp-dev libc-ares-dev libspdlog-dev uuid-dev libz-dev libssl-dev
execute_install_scripts: true

- run: sudo apt install -yq libboost-program-options-dev

- name: Build
run: |
cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --parallel 4

- uses: actions/upload-artifact@v4
with:
name: simple_inference_server
path: ${{github.workspace}}/build/simple_inference_server
if-no-files-found: error
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ set(BUILD_SHARED_LIBS OFF CACHE BOOL "Build drogon as a shared lib")
set(USE_SPDLOG ON CACHE BOOL "Use spdlog")
set(BUILD_BROTLI OFF CACHE BOOL "Build Brotli")
set(BUILD_YAML_CONFIG OFF CACHE BOOL "Build yaml config")
option(BUILD_EXAMPLES "Build examples" OFF)
option(BUILD_CTL "Build drogon_ctl" OFF)
add_subdirectory(3rdparty/drogon)

set(Boost_USE_STATIC_LIBS ON)
Expand Down
1 change: 0 additions & 1 deletion main.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include <boost/lockfree/queue.hpp>
#include <drogon/drogon.h>
#include <fmt/format.h>
#include <boost/program_options.hpp>
Expand Down