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
+
1
6
matrix :
2
7
platform :
3
- - centos7
4
- - debian10
5
8
- ubuntu2004
6
- - windows
7
9
tasks :
8
10
verify_targets :
9
11
name : Verify build targets
10
12
platform : ${{ platform }}
11
13
environment :
12
14
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"
13
21
build_targets :
14
22
- " @rules_swift//examples/xplatform/..."
15
23
verify_targets_macos :
You can’t perform that action at this time.
0 commit comments