File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
modules/rules_swift/1.2.0 Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 1+ shell_commands : &shell_commands
2+ - " echo --- Downloading and extracting Swift $SWIFT_VERSION to $SWIFT_HOME"
3+ - " mkdir $SWIFT_HOME"
4+ - " curl https://download.swift.org/swift-${SWIFT_VERSION}-release/ubuntu2004/swift-${SWIFT_VERSION}-RELEASE/swift-${SWIFT_VERSION}-RELEASE-ubuntu20.04.tar.gz | tar xvz --strip-components=1 -C $SWIFT_HOME"
5+
16matrix :
27 platform :
3- - centos7
4- - debian10
58 - ubuntu2004
6- - windows
79tasks :
810 verify_targets :
911 name : Verify build targets
1012 platform : ${{ platform }}
1113 environment :
1214 CC : " clang"
15+ SWIFT_VERSION : " 5.5.3"
16+ SWIFT_HOME : " $HOME/swift-$SWIFT_VERSION"
17+ PATH : " $PATH:$SWIFT_HOME/usr/bin"
18+ shell_commands : *shell_commands
19+ build_flags :
20+ - " --action_env=PATH"
1321 build_targets :
1422 - " @rules_swift//examples/xplatform/..."
1523 verify_targets_macos :
You can’t perform that action at this time.
0 commit comments