blob: 3963a639f896de74877b6f89097a68c52a115da0 [file]
bcr_test_module:
module_path: test
matrix:
# Currently does not build in Windows due to SIMD dispatch flags not taking into account cl.exe
# Also, for HighGUI on Linux, a GTK3 is needed, which should be provided via @opencv//:gtk3 label flag.
# This is tested only on Ubuntu, where test module installs the GTK3 with system's package manager and
# then imports it to the workspace.
ubuntu_with_gtk3:
- ubuntu2404
- ubuntu2404_arm64
platform:
- rockylinux8
- debian11
- debian12
- ubuntu2404
- ubuntu2404_arm64
- macos
- macos_arm64
bazel:
- 7.x
- 8.x
- 9.x
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@opencv//:opencv'
verify_targets_gtk3:
name: Verify build targets on Ubuntu with system GTK3
platform: ${{ ubuntu_with_gtk3 }}
bazel: 9.x
shell_commands:
- sudo apt update && sudo apt install -y libgtk-3-dev
build_flags:
- "--@opencv//:gtk3=@ubuntu-gtk-deps//:gtk3"
- "--@opencv//:with_gtk3=True"
build_targets:
- '@opencv//:opencv'