Skip to content

Commit

Permalink
ci: Add macos build
Browse files Browse the repository at this point in the history
  • Loading branch information
Zer0-One committed Dec 10, 2023
1 parent 1e3c9b0 commit 82f306d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,13 @@ jobs:
echo "<html><body><h1>Example</h1><p>This is an example page.</p></body></html>" >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
Expand Down

0 comments on commit 82f306d

Please sign in to comment.