Skip to content

Commit b7093b3

Browse files
committed
Setup CI
1 parent 1bedf98 commit b7093b3

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
CXX="clang++-19"
22
CC="clang-19"
3-
BUILD_TYPE="Debug"
4-
GENERATOR="Unix Makefiles"
3+
BUILD_TYPE="RelWithDebInfo"
4+
GENERATOR="Ninja"

.github/workflows/linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
cxx: [g++-12, clang++-18]
11-
build_type: [Debug, Release]
11+
build_type: [Release]
1212
steps:
1313
- uses: actions/checkout@master
1414
- uses: extractions/setup-just@v3

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ if (WITH_BENCHMARKS)
7777
endif()
7878

7979
if (WITH_UNIT_TESTS OR WITH_COMPLIANCE_TESTS)
80-
if (WITH_COMPLIANCE_TESTS)
80+
if (WITH_COMPLIANCE_TESTS AND CMAKE_CXX_COMPILER_ID MATCHES "Clang")
8181
add_subdirectory(third-party/fuzztest)
8282
endif()
8383
add_subdirectory(test)

Justfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ alias tu := run_unit_tests
66
alias tc := run_compliance_tests
77
alias c := clean
88

9-
set dotenv-load := true
10-
119
cxx_compiler := "${CXX}"
1210
c_compiler := "${CC}"
1311
cmake_build_type := "${BUILD_TYPE}"
@@ -24,7 +22,7 @@ init:
2422
CC={{c_compiler}} CXX={{cxx_compiler}} cmake \
2523
-B {{build_dir}} \
2624
-S . \
27-
-G Ninja \
25+
-G "{{cmake_generator}}" \
2826
-DCMAKE_BUILD_TYPE={{cmake_build_type}} \
2927
-DWITH_UNIT_TESTS=on \
3028
-DWITH_COMPLIANCE_TESTS=on \

0 commit comments

Comments
 (0)