Skip to content

Commit 4f88bb0

Browse files
committed
Add yams 5.1.0
1 parent 4026595 commit 4f88bb0

File tree

4 files changed

+41
-1
lines changed

4 files changed

+41
-1
lines changed

modules/yams/5.1.0/MODULE.bazel

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module(
2+
name = "yams",
3+
version = "5.1.0",
4+
compatibility_level = 1,
5+
)
6+
7+
bazel_dep(name = "rules_swift", version = "1.17.0", repo_name = "build_bazel_rules_swift")
8+
9+
bazel_dep(name = "platforms", version = "0.0.9", dev_dependency = True)
10+
bazel_dep(name = "rules_apple", version = "3.3.0", dev_dependency = True)

modules/yams/5.1.0/presubmit.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
shell_commands: &shell_commands
2+
- "echo --- Downloading and extracting Swift $SWIFT_VERSION to $SWIFT_HOME"
3+
- "mkdir $SWIFT_HOME"
4+
- "curl https://download.swift.org/swift-${SWIFT_VERSION}-release/ubuntu2004/swift-${SWIFT_VERSION}-RELEASE/swift-${SWIFT_VERSION}-RELEASE-ubuntu20.04.tar.gz | tar xvz --strip-components=1 -C $SWIFT_HOME"
5+
6+
tasks:
7+
verify_targets_linux:
8+
name: Verify targets (Linux)
9+
platform: ubuntu2004
10+
environment:
11+
CC: "clang"
12+
SWIFT_VERSION: "5.10"
13+
SWIFT_HOME: "$HOME/swift-$SWIFT_VERSION"
14+
PATH: "$PATH:$SWIFT_HOME/usr/bin"
15+
shell_commands: *shell_commands
16+
build_flags:
17+
- "--action_env=PATH"
18+
build_targets:
19+
- '@yams//:Yams'
20+
verify_targets_macos:
21+
name: Verify targets (macOS)
22+
platform: macos
23+
build_targets:
24+
- '@yams//:Yams'

modules/yams/5.1.0/source.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"url": "https://github.com/jpsim/Yams/releases/download/5.1.0/Yams-5.1.0.tar.gz",
3+
"integrity": "sha256-hC01Mkoxqmk6KJum3eOdMwwDb0bbdITCW+1g1FEj97A=",
4+
"strip_prefix": "Yams-5.1.0"
5+
}

modules/yams/metadata.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"5.0.3",
1515
"5.0.4",
1616
"5.0.5",
17-
"5.0.6"
17+
"5.0.6",
18+
"5.1.0"
1819
],
1920
"yanked_versions": {}
2021
}

0 commit comments

Comments
 (0)