test_targets: &test_targets
- '@aspect_rules_swc//examples/...'
# TODO: this test works around a pathing issue, but the workaround
# can only apply within the workspace
- '-@aspect_rules_swc//examples/directory/...'
- '@aspect_rules_swc//swc/...'

platforms:
  # Wrong libc version here
  # Error: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by /var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/e805867cdad67fe4cf21a67a5735d7fa/external/aspect_rules_swc.0.3.0.swc.default_swc_linux-x64-gnu/swc.linux-x64-gnu.node)
  #centos7:
  #  test_targets: *test_targets
  debian10:
    test_targets: *test_targets
  macos:
    test_targets: *test_targets
  ubuntu2004:
    test_targets: *test_targets
  # TODO: enable testing on windows when we can set --enable_runfiles
  #windows:
  #  test_targets: *test_targets
