From 82f306d047345d781429c74bc23d60724d6064c9 Mon Sep 17 00:00:00 2001 From: David Zero Date: Sat, 9 Dec 2023 23:12:43 -0500 Subject: [PATCH] ci: Add macos build --- .bazelrc | 4 ++++ .github/workflows/ci.yaml | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/.bazelrc b/.bazelrc index 9e4c0f91e..50a372e09 100644 --- a/.bazelrc +++ b/.bazelrc @@ -29,6 +29,10 @@ build:linux --features=layering_check build:linux --cxxopt='-std=c++2b' build:linux --cxxopt='-fno-rtti' +build:macos --features=layering_check +build:macos --cxxopt='-std=c++2b' +build:macos --cxxopt='-fno-rtti' + # Force DWARF-4 format for debug symbols for compatibility with valgrind. # See: https://bugs.kde.org/show_bug.cgi?id=452758 build:linux --copt='-gdwarf-4' diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 37bc84698..083482763 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -166,6 +166,13 @@ jobs: echo "

Example

This is an example page.

" >example.html ./bazelisk run browser:tui file://$(pwd)/example.html + macos: + runs-on: macos-13 + timeout-minutes: 30 + steps: + - uses: actions/checkout@v4 + - run: bazelisk test //util/... + windows-msvc: runs-on: windows-2022 timeout-minutes: 40