mirror of
https://github.com/apple/swift-http-structured-headers
synced 2026-11-25 04:47:48 +00:00
Add 5.4, 5.5, and main CI (#12)
This commit is contained in:
1 parent
4b5603c912
commit
f881e6c41b
4 files changed
+64
-2
No files matched your search
+4
-2
@@ -17,9 +17,11 @@ RUN apt-get update && apt-get install -y wget
|
||||
RUN apt-get update && apt-get install -y lsof dnsutils netcat-openbsd net-tools curl jq # used by integration tests
|
||||
|
||||
# ruby and jazzy for docs generation
|
||||
RUN apt-get update && apt-get install -y ruby ruby-dev libsqlite3-dev
|
||||
RUN apt-get update && apt-get install -y ruby ruby-dev libsqlite3-dev build-essential
|
||||
# switch off gem docs building
|
||||
RUN echo "gem: --no-document" > ~/.gemrc
|
||||
# jazzy no longer works on xenial as ruby is too old.
|
||||
RUN if [ "${ubuntu_version}" != "xenial" ] ; then gem install jazzy --no-ri --no-rdoc ; fi
|
||||
RUN if [ "${ubuntu_version}" != "xenial" ] ; then gem install jazzy; fi
|
||||
|
||||
# tools
|
||||
RUN mkdir -p $HOME/.tools
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
|
||||
runtime-setup:
|
||||
image: swift-http-structured-headers:20.04-5.4
|
||||
build:
|
||||
args:
|
||||
ubuntu_version: "focal"
|
||||
swift_version: "5.4"
|
||||
|
||||
unit-tests:
|
||||
image: swift-http-structured-headers:20.04-5.4
|
||||
|
||||
test:
|
||||
image: swift-http-structured-headers:20.04-5.4
|
||||
|
||||
shell:
|
||||
image: swift-http-structured-headers:20.04-5.4
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
|
||||
runtime-setup:
|
||||
image: swift-http-structured-headers:20.04-5.5
|
||||
build:
|
||||
args:
|
||||
base_image: "swiftlang/swift:nightly-5.5-focal"
|
||||
ubuntu_version: "focal"
|
||||
|
||||
unit-tests:
|
||||
image: swift-http-structured-headers:20.04-5.5
|
||||
|
||||
test:
|
||||
image: swift-http-structured-headers:20.04-5.5
|
||||
|
||||
shell:
|
||||
image: swift-http-structured-headers:20.04-5.5
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
|
||||
runtime-setup:
|
||||
image: swift-http-structured-headers:20.04-main
|
||||
build:
|
||||
args:
|
||||
base_image: "swiftlang/swift:nightly-main-focal"
|
||||
ubuntu_version: "focal"
|
||||
|
||||
unit-tests:
|
||||
image: swift-http-structured-headers:20.04-main
|
||||
|
||||
test:
|
||||
image: swift-http-structured-headers:20.04-main
|
||||
|
||||
shell:
|
||||
image: swift-http-structured-headers:20.04-main
|
||||
|
||||
Reference in new issue
Block a user