Skip to content

Commit

Permalink
Merge pull request #73 from comius:fix-ci
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 527048275
Change-Id: I65457bae136e7d435053032e887e526ff8c0f3dd
  • Loading branch information
copybara-github committed Apr 25, 2023
2 parents 4d33cbe + 7b531e6 commit 447aec2
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 24 deletions.
22 changes: 0 additions & 22 deletions .bazelci/postsubmit.yml

This file was deleted.

67 changes: 67 additions & 0 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
---
platforms:
ubuntu1604:
bazel: last_green
build_targets:
- "//src/..."
- "//test/..."
- "//android/..."
- "//rules/..."
- "-//src/java/com/example/sampleapp/..."
- "-//src/tools/ak/..."
- "//toolchains/..."
- "//tools/..."
test_targets:
- "//src/..."
- "//test/..."
- "-//src/tools/..."
- "-//src/java/com/example/sampleapp/..."
ubuntu1804:
bazel: last_green
build_targets:
- "//src/..."
- "//test/..."
- "//android/..."
- "//rules/..."
- "-//src/java/com/example/sampleapp/..."
- "-//src/tools/ak/..."
- "//toolchains/..."
- "//tools/..."
test_targets:
- "//src/..."
- "//test/..."
- "-//src/tools/..."
- "-//src/java/com/example/sampleapp/..."
macos:
bazel: last_green
build_targets:
- "//src/..."
- "//test/..."
- "//android/..."
- "//rules/..."
- "-//src/java/com/example/sampleapp/..."
- "-//src/tools/ak/..."
- "//toolchains/..."
- "//tools/..."
test_targets:
- "//src/..."
- "//test/..."
- "-//src/tools/..."
- "-//src/java/com/example/sampleapp/..."
windows:
bazel: last_green
build_targets:
- "//src/..."
- "//test/..."
- "//android/..."
- "//rules/..."
- "-//src/java/com/example/sampleapp/..."
- "-//src/tools/ak/..."
- "//toolchains/..."
- "//tools/..."
test_targets:
- "//src/..."
- "//test/..."
- "-//src/tools/..."
- "-//src/java/com/example/sampleapp/..."

2 changes: 1 addition & 1 deletion BUILD
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@bazel_gazelle//:def.bzl", "gazelle")
load("@gazelle//:def.bzl", "gazelle")
load("@rules_license//rules:license.bzl", "license")

package(
Expand Down
3 changes: 2 additions & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module(
)

bazel_dep(name = "platforms", version = "0.0.5")
bazel_dep(name = "rules_license", version = "0.0.4")
bazel_dep(name = "rules_java", version = "5.3.5")
rules_java_toolchains = use_extension("@rules_java//java:extensions.bzl", "toolchains")
use_repo(rules_java_toolchains, "remote_java_tools")
Expand All @@ -17,7 +18,7 @@ register_toolchains("//toolchains/android_sdk:all")
register_toolchains("//toolchains/emulator:all")

# go-related dependency setup
bazel_dep(name = "rules_go", version = "0.34.0", repo_name = "io_bazel_rules_go")
bazel_dep(name = "rules_go", version = "0.39.1", repo_name = "io_bazel_rules_go")
bazel_dep(name = "gazelle", version = "0.28.0")
go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk")
go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
Expand Down

0 comments on commit 447aec2

Please sign in to comment.