diff --git a/.bazelrc b/.bazelrc index 3fb38f1..e0087b2 100644 --- a/.bazelrc +++ b/.bazelrc @@ -2,7 +2,7 @@ common --incompatible_strict_action_env common --test_output=errors # https://github.com/bazelbuild/bazel/issues/25145 -info --platforms= +info --platforms=@platforms//host common --platforms=@mojo_host_platform common --host_platform=@mojo_host_platform diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 79da843..2bbb0fc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,22 +17,17 @@ jobs: - macos-15 - ubuntu-latest bazel: - - version: latest - extra_info_flags: "" - - version: last_rc - extra_info_flags: "" - - version: last_green - # https://github.com/bazelbuild/bazel/issues/25145 - extra_info_flags: "--noincompatible_target_cpu_from_platform" + - latest + - last_rc + - last_green fail-fast: false runs-on: ${{ matrix.os }} - name: test (${{ matrix.os }}, ${{ matrix.bazel.version }}) env: - USE_BAZEL_VERSION: ${{ matrix.bazel.version }} + USE_BAZEL_VERSION: ${{ matrix.bazel }} steps: - uses: actions/checkout@v4 - name: Bazel Info run: | bazel version - bazel info ${{ matrix.bazel.extra_info_flags }} + bazel info - run: bazel test //...