diff --git a/.bazelrc b/.bazelrc index bacb65a..d1140b7 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1,5 +1,12 @@ common --enable_bzlmod +common --enable_platform_specific_config -build --cxxopt=-std=c++20 -build --host_cxxopt=-std=c++20 -build --objccopt=-std=c++20 +build:linux --cxxopt=-std=c++20 +build:macos --cxxopt=-std=c++20 +build:windows --cxxopt=/std:c++20 +build:linux --host_cxxopt=-std=c++20 +build:macos --host_cxxopt=-std=c++20 +build:windows --host_cxxopt=/std:c++20 +build:linux --objccopt=-std=c++20 +build:macos --objccopt=-std=c++20 +build:windows --objccopt=/std:c++20 diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index cf6efc0..f18c221 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,8 +8,8 @@ jobs: matrix: platform: - ubuntu-latest - - windows-latest - macos-latest + - windows-latest runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v4