File tree Expand file tree Collapse file tree 1 file changed +0
-38
lines changed Expand file tree Collapse file tree 1 file changed +0
-38
lines changed Original file line number Diff line number Diff line change 5656 - name : Check that the service is running
5757 run : |
5858 curl -v localhost:8080 | grep "Hello World"
59- steps :
60- - name : Checkout repository
61- uses : actions/checkout@v4
62- with :
63- persist-credentials : false
64-
65- - name : Mark the workspace as safe
66- # https://github.com/actions/checkout/issues/766
67- run : git config --global --add safe.directory ${GITHUB_WORKSPACE}
68-
69- - name : Install the static SDK
70- run : |
71- swift sdk install \
72- https://download.swift.org/swift-6.0.2-release/static-sdk/swift-6.0.2-RELEASE/swift-6.0.2-RELEASE_static-linux-0.0.1.artifactbundle.tar.gz \
73- --checksum aa5515476a403797223fc2aad4ca0c3bf83995d5427fb297cab1d93c68cee075
74-
75- - name : Build the example
76- run : |
77- cd Examples/${{ example }}
78- sed -i'.bak' -e '/swift-container-plugin/ s/(url:.*),/(path: "..\/.."),/' Package.swift
79- swift package \
80- --swift-sdk x86_64-swift-linux-musl \
81- --allow-network-connections all \
82- build-container-image \
83- --repository localhost:5000/example \
84- --from scratch
85-
86- - name : Run the example
87- run : |
88- docker run -d --platform linux/amd64 -p 8080:8080 localhost:5000/example
89-
90- - name : Check that the service is running
91- run : |
92- curl -v localhost:8080 | grep "Hello World"
93-
94- swift-6-language-mode :
95- name : Swift 6 Language Mode
96- uses : apple/swift-nio/.github/workflows/swift_6_language_mode.yml@main
You can’t perform that action at this time.
0 commit comments