mirror of
https://github.com/apple/swift-certificates
synced 2026-11-22 04:20:39 +00:00
* Our perf thresholds have changed * Apparently local runs don't match * Stop using retain/release thresholds * Remove retain/release counts
29 lines
921 B
Bash
Executable File
29 lines
921 B
Bash
Executable File
#!/bin/bash
|
|
##===----------------------------------------------------------------------===##
|
|
##
|
|
## This source file is part of the SwiftCertificates open source project
|
|
##
|
|
## Copyright (c) 2023 Apple Inc. and the SwiftCertificates project authors
|
|
## Licensed under Apache License v2.0
|
|
##
|
|
## See LICENSE.txt for license information
|
|
## See CONTRIBUTORS.txt for the list of SwiftCertificates project authors
|
|
##
|
|
## SPDX-License-Identifier: Apache-2.0
|
|
##
|
|
##===----------------------------------------------------------------------===##
|
|
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
here="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
target_repo=${2-"$here/.."}
|
|
|
|
for f in 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")
|
|
|
|
docker-compose -f docker/docker-compose.yaml -f $docker_file run update-benchmark-baseline
|
|
done
|