Files
swift-asn1/docker/docker-compose.yaml
T
Rick Newton-Rogers d016643222 Migrate to GitHub Actions reusable workflows (2) (#74)
* 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
2024-10-15 13:04:58 +01:00

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