Skip to content

Commit

Permalink
CI: build with ubuntu-22.04
Browse files Browse the repository at this point in the history
Add ubuntu22.04 to build matrix.

Signed-off-by: Yadong Qi <yadong.qi@intel.com>
  • Loading branch information
YadongQi committed Aug 24, 2023
1 parent 023a18a commit 5cbb4f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04]
os: [ubuntu-20.04, ubuntu-22.04]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ add_subdirectory(services/protos)

set(PROJECT_NAME "vm-manager")
project(${PROJECT_NAME})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-unused-result -Wno-unused-variable -Wno-narrowing -O2")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-unused-result -Wno-unused-variable -Wno-narrowing -Wno-ignored-optimization-argument -O2")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -g1 -O3 -fstack-protector-strong -Wdate-time -D_FORTIFY_SOURCE=2" CACHE STRING "CXX Release Flags" FORCE)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -O2 -g3")

Expand Down

0 comments on commit 5cbb4f1

Please sign in to comment.