git remote set-url --push open-source "READ-ONLY"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import AWSLambdaRuntimeCore | |
import NIO | |
import ExtrasJSON | |
/// Implementation of a`ByteBuffer` to `In` decoding | |
public extension EventLoopLambdaHandler where In: Decodable { | |
func decode(buffer: ByteBuffer) throws -> In { | |
try decoder.decode(In.self, from: buffer) | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import NIO | |
extension EventLoop { | |
public func process<Input, Output>( | |
input: [Input], | |
parallel: Int, | |
process: @escaping (Input, EventLoop) -> EventLoopFuture<Output>) | |
-> EventLoopFuture<[Result<Output, Error>]> | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- test finished -- | |
--- Finished tests for llbuild --- | |
--- Running tests for swiftpm --- | |
+ /home/ec2-user/swiftpm/Utilities/bootstrap --release --swiftc=/home/ec2-user/build/buildbot_linux/swift-linux-x86_64/bin/swiftc --sbt=/home/ec2-user/build/buildbot_linux/llbuild-linux-x86_64/bin/swift-build-tool --build=/home/ec2-user/build/buildbot_linux/swiftpm-linux-x86_64 --link-llbuild --llbuild-source-dir=/home/ec2-user/llbuild --llbuild-build-dir=/home/ec2-user/build/buildbot_linux/llbuild-linux-x86_64 --foundation=/home/ec2-user/build/buildbot_linux/foundation-linux-x86_64 --libdispatch-source-dir=/home/ec2-user/swift-corelibs-libdispatch --libdispatch-build-dir=/home/ec2-user/build/buildbot_linux/libdispatch-linux-x86_64 --xctest=/home/ec2-user/build/buildbot_linux/xctest-linux-x86_64 test --test-parallel | |
--- bootstrap: note: building runtime v4_2 target: PackageDescription4: | |
--- bootstrap: note: building runtime v4 target: PackageDescription4: | |
--- bootstrap: note: building stage1 | |
--- bootstrap: note: buildin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Change Xcode version in GitHub Actions | |
As of today (2019-08-21) I haven't found any documentation on changing Xcode versions when | |
using GitHub actions. So I checked the applications folder and everything we need is | |
already there. 🤩 | |
``` | |
> ls -n /Applications/ | grep Xcode* | |
lrwxr-xr-x 1 0 80 30 Aug 2 19:31 Xcode.app -> /Applications/Xcode_10.2.1.app | |
drwxr-xr-x 3 501 20 96 Oct 20 2018 Xcode_10.1.app |