Skip to content

Commit

Permalink
swift 5.1 docker setup (#111)
Browse files Browse the repository at this point in the history
motivation: support swift 5.1

changes:
* add docker compose file for swift 5.1, will add CI job once merged
* update swiftformat version to 0.40.12
  • Loading branch information
tomerd authored Sep 24, 2019
1 parent 54b0b96 commit d84a1da
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN chmod 755 $HOME/.tools/symbolicate-linux-fatal

# swiftformat (until part of the toolchain)

ARG swiftformat_version=0.40.11
ARG swiftformat_version=0.40.12
RUN git clone --branch $swiftformat_version --depth 1 https://github.com/nicklockwood/SwiftFormat $HOME/.tools/swift-format
RUN cd $HOME/.tools/swift-format && swift build -c release
RUN ln -s $HOME/.tools/swift-format/.build/release/swiftformat $HOME/.tools/swiftformat
13 changes: 13 additions & 0 deletions docker/docker-compose.1804.51.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
version: "3"

services:

runtime-setup:
image: async-http-client:18.04-5.1
build:
args:
ubuntu_version: "bionic"
swift_version: "5.1"

test:
image: async-http-client:18.04-5.1

0 comments on commit d84a1da

Please sign in to comment.