mirror of
https://github.com/apple/swift-asn1
synced 2026-11-22 04:10:39 +00:00
* Prepare repo for new GHA checks Motivation: Migrate to GitHub Actions reusable workflows (2) Modifications: * Add GHA PR label checks * Add GHA benchmarks checks * Satisfy soundness checks Result: New soundness checks should be green and ready for adoption * review comments
29 lines
902 B
Bash
Executable File
29 lines
902 B
Bash
Executable File
#!/bin/bash
|
|
##===----------------------------------------------------------------------===##
|
|
##
|
|
## This source file is part of the SwiftASN1 open source project
|
|
##
|
|
## Copyright (c) 2023 Apple Inc. and the SwiftASN1 project authors
|
|
## Licensed under Apache License v2.0
|
|
##
|
|
## See LICENSE.txt for license information
|
|
## See CONTRIBUTORS.txt for the list of SwiftASN1 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 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")
|
|
|
|
docker-compose -f docker/docker-compose.yaml -f "$docker_file" run update-benchmark-baseline
|
|
done
|