Skip to content

Commit

Permalink
Merge pull request #883 from lethal-guitar/test-macos-11
Browse files Browse the repository at this point in the history
Upgrade Mac OS CI
  • Loading branch information
lethal-guitar committed Oct 8, 2022
2 parents 64447b2 + 2836de7 commit f16fea1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bundling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
name: ubuntu_deb_build
path: build/packages/*.deb*
build_package_osx:
runs-on: macos-10.15
runs-on: macos-11
steps:
- uses: actions/checkout@v2
with:
Expand Down
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-10.15
runs-on: macos-11
steps:
- uses: actions/checkout@v2
with:
Expand Down
7 changes: 5 additions & 2 deletions benchmark/bench_string_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include <benchmark/benchmark.h>

#include <base/string_utils.hpp>
#include <base/warnings.hpp>

RIGEL_DISABLE_WARNINGS
#include <benchmark/benchmark.h>
RIGEL_RESTORE_WARNINGS


static void BMStringSplit(benchmark::State& state)
Expand Down
1 change: 1 addition & 0 deletions src/base/warnings.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
_Pragma("clang diagnostic ignored \"-Wgnu-anonymous-struct\"") \
_Pragma("clang diagnostic ignored \"-Wnested-anon-types\"") \
_Pragma("clang diagnostic ignored \"-Wextra-semi-stmt\"") \
_Pragma("clang diagnostic ignored \"-Wsuggest-override\"") \
/**/

#define RIGEL_RESTORE_WARNINGS _Pragma("clang diagnostic pop")
Expand Down

0 comments on commit f16fea1

Please sign in to comment.