Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Co-authored-by: Patrick Balestra <[email protected]>
  • Loading branch information
1 parent 81d9e0a commit d5b8000
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 1 deletion.
17 changes: 17 additions & 0 deletions modules/apple_support/1.9.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module(
name = "apple_support",
version = "1.9.0",
bazel_compatibility = [">=6.0.0"],
compatibility_level = 1,
repo_name = "build_bazel_apple_support",
)

bazel_dep(name = "bazel_skylib", version = "1.3.0")
bazel_dep(name = "platforms", version = "0.0.7")

bazel_dep(name = "stardoc", version = "0.5.3", dev_dependency = True, repo_name = "io_bazel_stardoc")

apple_cc_configure = use_extension("//crosstool:setup.bzl", "apple_cc_configure_extension")
use_repo(apple_cc_configure, "local_config_apple_cc", "local_config_apple_cc_toolchains")

register_toolchains("@local_config_apple_cc_toolchains//:all")
13 changes: 13 additions & 0 deletions modules/apple_support/1.9.0/patches/module_dot_bazel_version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Index: MODULE.bazel
===================================================================
--- MODULE.bazel
+++ MODULE.bazel
@@ -1,7 +1,7 @@
module(
name = "apple_support",
- version = "0",
+ version = "1.9.0",
bazel_compatibility = [">=6.0.0"],
compatibility_level = 1,
repo_name = "build_bazel_apple_support",
)
17 changes: 17 additions & 0 deletions modules/apple_support/1.9.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
matrix:
platform: ["centos7", "debian10", "macos", "ubuntu2004", "windows"]

tasks:
verify_targets:
name: "Build targets under //lib"
platform: ${{ platform }}
build_targets:
- '@apple_support//lib/...'
run_tests:
name: "Run test targets"
platform: "macos"
test_targets:
- '@apple_support//test/...'
- '--'
# Needs the new toolchain
- '-@apple_support//test:linking_disable_objc_apple_link_test'
9 changes: 9 additions & 0 deletions modules/apple_support/1.9.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-tQbGcgCmpkR2tWFdsgyIeg/zMSisqjFIpcnlFnxKB14=",
"strip_prefix": "",
"url": "https://github.com/bazelbuild/apple_support/releases/download/1.9.0/apple_support.1.9.0.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-icmXP4eF13m+PzfZMSKk0ZOc5RPAu3uWrCzhCMsUa5k="
},
"patch_strip": 0
}
3 changes: 2 additions & 1 deletion modules/apple_support/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"1.7.0",
"1.7.1",
"1.8.0",
"1.8.1"
"1.8.1",
"1.9.0"
],
"yanked_versions": {}
}

0 comments on commit d5b8000

Please sign in to comment.