Add CI pipeline for Swift 5.10 (#145)

Motivation:

Now that Swift 5.9 is GM we should update the CI pipelines

Modifications:

* Add a 5.10 nightly docker compose file
* Update the 5.9 compose file to stop using nightlies
* Update benchmark thresholds

Result:

Remove add CI support for 5.10
This commit is contained in:
Rick Newton-Rogers authored and GitHub committed 2023-10-04 17:42:02 +01:00
1 parent 01d7664523
commit efc568c52c
16 files changed
+87 -15

No files matched your search

@@ -0,0 +1,8 @@
{
"mallocCountTotal" : 5506,
"memoryLeaked" : 0,
"readSyscalls" : 0,
"releaseCount" : 120084,
"retainCount" : 108506,
"writeSyscalls" : 0
}
@@ -0,0 +1,8 @@
{
"mallocCountTotal" : 6465,
"memoryLeaked" : 0,
"readSyscalls" : 0,
"releaseCount" : 133927,
"retainCount" : 120568,
"writeSyscalls" : 0
}
@@ -0,0 +1,8 @@
{
"mallocCountTotal" : 6473,
"memoryLeaked" : 0,
"readSyscalls" : 0,
"releaseCount" : 133256,
"retainCount" : 120160,
"writeSyscalls" : 0
}
@@ -0,0 +1,8 @@
{
"mallocCountTotal" : 10,
"memoryLeaked" : 0,
"readSyscalls" : 0,
"releaseCount" : 12,
"retainCount" : 0,
"writeSyscalls" : 0
}
@@ -0,0 +1,8 @@
{
"mallocCountTotal" : 0,
"memoryLeaked" : 0,
"readSyscalls" : 0,
"releaseCount" : 0,
"retainCount" : 0,
"writeSyscalls" : 0
}
@@ -0,0 +1,6 @@
{
"mallocCountTotal" : 1233,
"memoryLeaked" : 0,
"readSyscalls" : 0,
"writeSyscalls" : 0
}
@@ -2,7 +2,7 @@
"mallocCountTotal" : 5506,
"memoryLeaked" : 0,
"readSyscalls" : 0,
"releaseCount" : 185027,
"retainCount" : 174449,
"releaseCount" : 185130,
"retainCount" : 174552,
"writeSyscalls" : 0
}
@@ -2,7 +2,7 @@
"mallocCountTotal" : 6465,
"memoryLeaked" : 0,
"readSyscalls" : 0,
"releaseCount" : 199007,
"retainCount" : 186648,
"releaseCount" : 199110,
"retainCount" : 186751,
"writeSyscalls" : 0
}
@@ -2,7 +2,7 @@
"mallocCountTotal" : 6473,
"memoryLeaked" : 0,
"readSyscalls" : 0,
"releaseCount" : 198336,
"retainCount" : 186240,
"releaseCount" : 198439,
"retainCount" : 186343,
"writeSyscalls" : 0
}
@@ -2,7 +2,7 @@
"mallocCountTotal" : 5506,
"memoryLeaked" : 0,
"readSyscalls" : 0,
"releaseCount" : 115024,
"retainCount" : 103446,
"releaseCount" : 121084,
"retainCount" : 109506,
"writeSyscalls" : 0
}
@@ -2,7 +2,7 @@
"mallocCountTotal" : 6465,
"memoryLeaked" : 0,
"readSyscalls" : 0,
"releaseCount" : 126949,
"retainCount" : 113590,
"releaseCount" : 134927,
"retainCount" : 121568,
"writeSyscalls" : 0
}
@@ -2,7 +2,7 @@
"mallocCountTotal" : 6473,
"memoryLeaked" : 0,
"readSyscalls" : 0,
"releaseCount" : 126278,
"retainCount" : 113182,
"releaseCount" : 134256,
"retainCount" : 121160,
"writeSyscalls" : 0
}
@@ -5,4 +5,4 @@
"releaseCount" : 12,
"retainCount" : 0,
"writeSyscalls" : 0
}
}
+1 -1
View File
@@ -19,7 +19,7 @@ set -o pipefail
here="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
target_repo=${2-"$here/.."}
for f in 57 58 59 -nightly; do
for f in 57 58 59 510 -nightly; do
echo "swift$f"
docker_file=$(if [[ "$f" == "-nightly" ]]; then f=main; fi && ls "$target_repo/docker/docker-compose."*"$f"*".yaml")
+25
View File
@@ -0,0 +1,25 @@
version: "3"
services:
runtime-setup:
image: swift-certificates:22.04-5.10
build:
args:
base_image: "swiftlang/swift:nightly-5.10-jammy"
test:
image: swift-certificates:22.04-5.10
environment:
- SWIFT_VERSION=5.10
- WARN_AS_ERROR_ARG=-Xswiftc -warnings-as-errors
- IMPORT_CHECK_ARG=--explicit-target-dependency-import-check error
# - SANITIZER_ARG=--sanitize=thread # TSan broken still
shell:
image: swift-certificates:22.04-5.10
update-benchmark-baseline:
image: swift-certificates:22.04-5.10
environment:
- SWIFT_VERSION=5.10
+2 -1
View File
@@ -6,7 +6,8 @@ services:
image: swift-certificates:22.04-5.9
build:
args:
base_image: "swiftlang/swift:nightly-5.9-jammy"
ubuntu_version: "jammy"
swift_version: "5.9"
test:
image: swift-certificates:22.04-5.9