Skip to content

Commit

Permalink
Merge pull request #922 from lethal-guitar/maintenance
Browse files Browse the repository at this point in the history
CI Maintenance
  • Loading branch information
lethal-guitar authored Apr 13, 2024
2 parents 6f76229 + a44725f commit bb9a123
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- name: Test (release)
run: cd build && ctest
build_osx:
runs-on: macos-11
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion benchmark/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ include(FetchContent)
FetchContent_Declare(
benchmark
GIT_REPOSITORY https://github.com/google/benchmark.git
GIT_TAG v1.5.3
GIT_TAG v1.8.3
)
FetchContent_GetProperties(benchmark)
if(NOT benchmark_POPULATED)
Expand Down
2 changes: 1 addition & 1 deletion benchmark/bench_string_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ static void BMStringSplit(benchmark::State& state)
std::string const kInputString = "Hello, world";
for (auto _ : state)
{
const auto v = rigel::strings::split(kInputString, ',');
auto v = rigel::strings::split(kInputString, ',');
benchmark::DoNotOptimize(v);
benchmark::ClobberMemory();
}
Expand Down
3 changes: 2 additions & 1 deletion cmake/rigel.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ function(rigel_enable_warnings target)
endif()
elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
target_compile_options(${target} PRIVATE
-Weverything
-Wall
-Wextra
-Wno-unknown-warning-option
-Wno-c++98-compat
-Wno-c++98-compat-pedantic
Expand Down

0 comments on commit bb9a123

Please sign in to comment.