blob: e138749b3eba5e4ea36af99fd740177fcae2f5a4 [file] [log] [blame]
matrix:
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
- windows
bazel:
- 7.x
- 6.x
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@rules_openscad//:scad_unittest'
- '@rules_openscad//:scad_utils'
bcr_test_module:
module_path: test_models
matrix:
platform:
- debian10
- ubuntu2004
- macos
- macos_arm64
- windows
bazel:
- 7.x
# Disable bazel 6 support for now, as the library doesn't support it. This is a target for v0.2
# - 6.x
tasks:
run_test_module:
name: Run test module
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
# Only build libraries, as we cannot run openscad in test platforms. Also, don't run any test targets
- //:cylinder_section
# - //:cylinder_section_obj
# - //:cylinder_section_test
- //:hardware
# - //:hardware_obj
# - //:hardware_test
- //:hollow_cylinder
# - //:hollow_cylinder_obj
# - //:hollow_cylinder_test
# test_targets:
# - //:cylinder_section_test
# - //:hardware_test
# - //:hollow_cylinder_test