Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support consuming sign-here via bzlmod #17

Merged
merged 1 commit into from
Apr 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: bazelisk test //Tests/... --xcode_version=14.3
tests-bzlmod:
name: Run tests w/bzlmod
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- run: bazelisk test //Tests/... --xcode_version=14.3 --enable_bzlmod
executable:
name: Build macos_command_line_application
runs-on: macos-13
Expand All @@ -24,3 +30,14 @@ jobs:
name: sign-here
path: bazel-bin/Sources/SignHereTool/sign-here
if-no-files-found: error
executable-bzlmod:
name: Build macos_command_line_application w/bzlmod
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- run: bazelisk build //Sources/SignHereTool:sign-here -c opt --macos_cpus=x86_64,arm64 --enable_bzlmod
- uses: actions/upload-artifact@v3
with:
name: sign-here
path: bazel-bin/Sources/SignHereTool/sign-here
if-no-files-found: error
13 changes: 11 additions & 2 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
bazel_dep(name = "rules_apple", version = "3.2.1", repo_name = "build_bazel_rules_apple")
module(name = "sign-here")

bazel_dep(name = "rules_apple", version = "3.5.0", repo_name = "build_bazel_rules_apple")
bazel_dep(name = "rules_swift", version = "1.18.0", repo_name = "build_bazel_rules_swift")
bazel_dep(name = "swift-syntax", version = "509.0.2", repo_name = "SwiftSyntax")
bazel_dep(name = "swift_argument_parser", version = "1.3.0", repo_name = "com_github_apple_swift_argument_parser")

non_module_dependencies = use_extension("//:extensions.bzl", "non_module_dependencies")
use_repo(non_module_dependencies, "data_file")
use_repo(
non_module_dependencies,
"com_github_kitura_blueecc",
"com_github_kylef_pathkit",
)
Loading
Loading