Experimenting with string literals for non-type template parameters. #1940
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: JNI Bind Build/Test Status | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
permissions: | |
contents: read | |
jobs: | |
ubuntu-latest-cpp17: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: test | |
run: bazel query --output=label 'kind("...", //...) except attr("tags", "cpp20", "//...")' | xargs bazel test --cxxopt='-Werror' --cxxopt='-std=c++17' --repo_env=CC=clang --test_output=errors | |
ubuntu-latest-cpp20: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: test | |
run: bazel test --cxxopt='-Werror' --cxxopt='-std=c++20' --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-latest-cpp17: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: test | |
run: bazel query --output=label 'kind("...", //...) except attr(tags, "cpp20", //metaprogramming/...)' | xargs bazel test --cxxopt='-Werror' --cxxopt='-std=c++17' --repo_env=CC=clang --test_output=errors | |
macos-latest-cpp20: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: test | |
run: bazel test --cxxopt='-Werror' --cxxopt='-std=c++20' --repo_env=CC=clang --test_output=errors ... |