-
Notifications
You must be signed in to change notification settings - Fork 319
/
Copy pathswift.yaml
49 lines (49 loc) · 1.29 KB
/
swift.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
compilers:
swift:
type: tarballs
compression: gz
dir: swift-{name}
create_untar_dir: true
strip_components: 1
build: swift-{name}-release
toolchain: swift-{name}-RELEASE
check_exe: usr/bin/swiftc --version
after_stage_script:
# work around insane installation issue
- chmod og+r ./usr/lib/swift/CoreFoundation/*
older:
url: https://download.swift.org/{build}/ubuntu1604/{toolchain}/{toolchain}-ubuntu16.04.tar.gz
targets:
- 3.1.1
- 4.0.2
- 4.0.3
- '4.1'
- 4.1.1
- 4.1.2
- '4.2'
- '5.0'
- '5.1'
- '5.2'
- '5.3'
newer:
url: https://download.swift.org/{build}/ubuntu2004/{toolchain}/{toolchain}-ubuntu20.04.tar.gz
targets:
- '5.4'
- '5.5'
- '5.6'
- '5.7'
- '5.8'
- '5.9'
- '5.10'
- '6.0.3'
nightly:
if: nightly
type: restQueryTarballs
install_always: true
url: https://download.swift.org/development/ubuntu2004/latest-build.yml
query: |
'https://download.swift.org/development/ubuntu2004/' \
+ document['download'].replace('-ubuntu20.04.tar.gz', '') \
+ '/' + document['download']
targets:
- nightly