Henry Case преди 3 години
родител
ревизия
950479bdee
променени са 2 файла, в които са добавени 10 реда и са изтрити 8 реда
  1. +8
    -8
      .github/workflows/main.yml
  2. +2
    -0
      CMakeLists.txt

+ 8
- 8
.github/workflows/main.yml Целия файл

@@ -22,6 +22,7 @@ jobs:
gcc-debug-build,
clang-debug-build,
clang-debug-asan-build,
clang-debug-msan-build,
]

include:
@@ -29,27 +30,26 @@ jobs:
cc: gcc
cxx: g++
flags: -DCMAKE_BUILD_TYPE=Release

- name: gcc-debug-build
cc: gcc
cxx: g++
flags: -DCMAKE_BUILD_TYPE=Debug

- name: clang-release-build
cc: clang
cxx: clang++
flags: -DCMAKE_BUILD_TYPE=Release
long_tests: 1

- name: clang-debug-build
cc: /usr/bin/clang
cxx: /usr/bin/clang++
flags: -DCMAKE_BUILD_TYPE=Debug

- name: clang-debug-asan-build
cc: /usr/bin/clang
cxx: /usr/bin/clang++
flags: -DCMAKE_BUILD_TYPE=Debug -DSANITIZERS=1
cc: clang
cxx: clang++
flags: -DCMAKE_BUILD_TYPE=Release -DADDRSAN=1
- name: clang-debug-msan-build
cc: clang
cxx: clang++
flags: -DCMAKE_BUILD_TYPE=Release -DMEMSAN=1
steps:
- uses: actions/checkout@v1
with:


+ 2
- 0
CMakeLists.txt Целия файл

@@ -4,6 +4,7 @@ include(FetchContent)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_C_STANDARD 99)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)

enable_language(C)
enable_language(CXX)
@@ -35,6 +36,7 @@ FetchContent_Declare(
FetchContent_Populate(gbench)

add_subdirectory(3rd/gtest)
set(BUILD_PIC ON CACHE BOOL "")
add_subdirectory(3rd/cpu_features)

set(CMAKE_VERBOSE_MAKEFILE ON)


Зареждане…
Отказ
Запис