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
39 lines
996 B
YAML
39 lines
996 B
YAML
# this file is not designed to be run directly
|
|
# instead, use the docker-compose.<os>.<swift> files
|
|
# eg docker-compose -f docker/docker-compose.yaml -f docker/docker-compose.2204.57.yaml run test
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
runtime-setup:
|
|
image: swift-asn1:default
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
|
|
common: &common
|
|
image: swift-asn1:default
|
|
depends_on: [runtime-setup]
|
|
volumes:
|
|
- ~/.ssh:/root/.ssh
|
|
- ..:/swift-asn1:z
|
|
working_dir: /swift-asn1
|
|
|
|
soundness:
|
|
<<: *common
|
|
command: echo "skipping; moved to Github Actions"
|
|
|
|
test:
|
|
<<: *common
|
|
command: echo "skipping; moved to Github Actions"
|
|
|
|
update-benchmark-baseline:
|
|
<<: *common
|
|
command: /bin/bash -xcl "cd Benchmarks && swift package --scratch-path .build/$${SWIFT_VERSION-}/ --allow-writing-to-package-directory benchmark --format metricP90AbsoluteThresholds --path Thresholds/$${SWIFT_VERSION-}/"
|
|
|
|
# util
|
|
|
|
shell:
|
|
<<: *common
|
|
entrypoint: /bin/bash
|