blob: 94e51e3733daaf8dcabe004c4ff9e5a5a47d613a [file] [log] [blame]
matrix:
platform:
- fedora39
- ubuntu2404
- macos
- macos_arm64
- windows
bazel:
- 7.x
- 8.x
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@blake3//:blake3'
verify_targets_windows_arm:
name: Verify build targets for Windows ARM
platform: windows
setup:
- echo bazel_dep(name = "rules_cc", version = "0.0.17") >> MODULE.bazel
- echo cc_configure = use_extension("@rules_cc//cc:extensions.bzl", "cc_configure_extension") >> MODULE.bazel
- echo use_repo(cc_configure, "local_config_cc") >> MODULE.bazel
bazel: ${{ bazel }}
build_targets:
- '@blake3//:blake3'
build_flags:
- '--platforms=@blake3//:internal_ci_only_do_not_use_windows_arm64'
- '--extra_toolchains=@local_config_cc//:cc-toolchain-arm64_windows'
verify_tbb_targets:
name: Verify build targets with TBB
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@blake3//:blake3'
build_flags:
- '--@blake3//:tbb=true'