Skip to content

Commit

Permalink
Add Darwin runner for subset of targets.
Browse files Browse the repository at this point in the history
There is further discussion in
    - https://github.com/orgs/community/discussions/118963
    - #268

PiperOrigin-RevId: 610234559
  • Loading branch information
jwhpryor authored and copybara-github committed May 3, 2024
1 parent 5c07ed1 commit e43dde6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,18 @@ permissions:
contents: read

jobs:
build:
linux_test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0
- uses: actions/checkout@v4
- name: test
run: bazel test --cxxopt='-std=c++17' --repo_env=CC=clang --test_output=errors ...

# NOTE: Mac is only running a small subset of targets due to an unresolved
# issue in Bazel. When this is fixed in the future I will expand testing.
macos_test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: test
run: bazel test --cxxopt='-std=c++17' --repo_env=CC=clang --test_output=errors metaprogramming/...
4 changes: 2 additions & 2 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ bazel_dep(name = "bazel_skylib", version = "1.4.2")
bazel_dep(name = "rules_java", version = "7.1.0")
bazel_dep(name = "rules_jvm_external", version = "5.2")
bazel_dep(name = "rules_license", version = "0.0.7")
bazel_dep(name = "freetype", version = "2.9")
bazel_dep(name = "protobuf", version = "21.7", repo_name = "com_google_protobuf")

bazel_dep(
Expand All @@ -19,8 +20,7 @@ bazel_dep(

# Maven artifacts required by Stardoc; keep consistent with deps.bzl
MAVEN_ARTIFACTS = [
"com.google.guava:guava:31.1-jre",
"com.google.truth:truth:1.1.3",
"com.google.truth:truth:1.1.2",
"junit:junit:4.13.2",
"org.mockito:mockito-core:4.3.1",
]
Expand Down

0 comments on commit e43dde6

Please sign in to comment.