mirror of
https://github.com/apple/swift-crypto
synced 2026-11-24 04:37:48 +00:00
* Setup docker for cmake build Motivation: Be able to run cmake build in CI Modifications: - Add "cmake" service to `docker-compose.yaml` - Update `Dockerfile` to install `cmake` and `ninja`. Remove unneeded dependencies. - Add `docker-compose.2004.53.yaml`. `cmake` on previous Ubuntu versions are too old and it would be a pain to upgrade, so using Ubuntu 20.04 to simplify things. - Add back modulemap to ensure cmake build is successful Result: Can run cmake in CI
22 lines
352 B
YAML
22 lines
352 B
YAML
version: "3"
|
|
|
|
services:
|
|
|
|
runtime-setup:
|
|
image: swift-crypto:20.04-5.3
|
|
build:
|
|
args:
|
|
ubuntu_version: "focal"
|
|
swift_version: "5.3"
|
|
|
|
test:
|
|
image: swift-crypto:20.04-5.3
|
|
environment: []
|
|
#- SANITIZER_ARG=--sanitize=thread
|
|
|
|
cmake:
|
|
image: swift-crypto:20.04-5.3
|
|
|
|
shell:
|
|
image: swift-crypto:20.04-5.3
|