Fixing the CI

This commit is contained in:
Zoe Roux
2021-06-17 18:03:31 +02:00
parent dfc42ced60
commit 01afcde9df
2 changed files with 4 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ jobs:
- name: Build
run: |
mkdir build && cd build
cmake ..
cmake .. -DCMAKE_BUILD_TYPE=Debug
cmake --build .
- name: CheckBinaryName
shell: bash

View File

@@ -3,7 +3,9 @@ project(bomberman)
set(CMAKE_CXX_STANDARD 20)
if (CMAKE_COMPILER_IS_GNUCC)
set(CMAKE_CXX_FLAGS_DEBUG "-Wall -Wextra -Wshadow -W -g")
endif()
set(CMAKE_CXX_FLAGS_RELEASE "-O2")
include_directories(lib/Ray/sources)