| matrix: |
| platform: |
| - debian11 |
| - macos_arm64 |
| - ubuntu2404 |
| - ubuntu2404_arm64 |
| - windows |
| bazel: ["7.x", "8.x", "9.x"] |
| tasks: |
| verify_targets: |
| name: "Run test module" |
| platform: ${{ platform }} |
| bazel: ${{ bazel }} |
| build_targets: |
| - "@libgd//..." |
| test_targets: |
| - "@libgd//..." |
| verify_all_deps: |
| name: "All optional dependencies enabled" |
| platform: ${{ platform }} |
| bazel: ${{ bazel }} |
| build_flags: &all_deps_flags |
| - "--@libgd//:enable_zlib=True" |
| - "--@libgd//:enable_png=True" |
| - "--@libgd//:enable_jpeg=True" |
| - "--@libgd//:enable_freetype=True" |
| - "--@libgd//:enable_tiff=True" |
| - "--@libgd//:enable_webp=True" |
| - "--@libgd//:enable_heif=True" |
| - "--@libgd//:enable_avif=True" |
| - "--@libgd//:enable_gd_formats=True" |
| build_targets: |
| - "@libgd//..." |
| test_flags: *all_deps_flags |
| test_targets: |
| - "@libgd//..." |