Overview
Context
Changes
Deleted .travis.yml version [0619e15749].
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
|
|
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|
language: c
matrix:
include:
# Linux
- os: linux
compiler: clang
dist: precise
sudo: required
- os: linux
compiler: gcc
dist: precise
sudo: required
- os: linux
arch: arm64
compiler: clang
dist: precise
sudo: required
- os: linux
arch: arm64
compiler: gcc
dist: precise
sudo: required
- os: linux
arch: ppc64le
compiler: clang
dist: precise
sudo: required
- os: linux
arch: ppc64le
compiler: gcc
dist: precise
sudo: required
# Clang seems to have broken exceptions on s390x
#- os: linux
# arch: s390x
# compiler: clang
# dist: precise
# sudo: required
- os: linux
arch: s390x
compiler: gcc
dist: precise
sudo: required
- os: linux
compiler: clang
dist: trusty
sudo: required
- os: linux
compiler: gcc
dist: trusty
sudo: required
- os: linux
compiler: clang
dist: xenial
sudo: required
- os: linux
compiler: gcc
dist: xenial
sudo: required
- os: linux
compiler: clang
dist: bionic
sudo: required
- os: linux
compiler: gcc
dist: bionic
sudo: required
# macOS
- os: osx
osx_image: xcode11.2
language: objective-c
env:
- no32bit=1
- noruntime=1 # Broken compiler in this version of Xcode
- os: osx
osx_image: xcode11.1
language: objective-c
env:
- no32bit=1
- noruntime=1 # Broken compiler in this version of Xcode
- os: osx
osx_image: xcode11
language: objective-c
env:
- no32bit=1
- noruntime=1 # Broken compiler in this version of Xcode
- os: osx
osx_image: xcode10.3
language: objective-c
env:
- no32bit=1
- os: osx
osx_image: xcode10.2
language: objective-c
env:
- no32bit=1
- os: osx
osx_image: xcode10.1
language: objective-c
- os: osx
osx_image: xcode10
language: objective-c
- os: osx
osx_image: xcode9.4
language: objective-c
- os: osx
osx_image: xcode9.3
language: objective-c
- os: osx
osx_image: xcode9.2
language: objective-c
- os: osx
osx_image: xcode9.1
language: objective-c
- os: osx
osx_image: xcode9
language: objective-c
- os: osx
osx_image: xcode8.3
language: objective-c
- os: osx
osx_image: xcode8
language: objective-c
- os: osx
osx_image: xcode7.3
language: objective-c
# iOS
- os: osx
osx_image: xcode11.2
language: objective-c
env:
- config=ios
- os: osx
osx_image: xcode11.1
language: objective-c
env:
- config=ios
- os: osx
osx_image: xcode11
language: objective-c
env:
- config=ios
- os: osx
osx_image: xcode10.3
language: objective-c
env:
- config=ios
- os: osx
osx_image: xcode10.2
language: objective-c
env:
- config=ios
- os: osx
osx_image: xcode10.1
language: objective-c
env:
- config=ios
- os: osx
osx_image: xcode10
language: objective-c
env:
- config=ios
- os: osx
osx_image: xcode9.4
language: objective-c
env:
- config=ios
- os: osx
osx_image: xcode9.3
language: objective-c
env:
- config=ios
- os: osx
osx_image: xcode9.2
language: objective-c
env:
- config=ios
- os: osx
osx_image: xcode9.1
language: objective-c
env:
- config=ios
- os: osx
osx_image: xcode9
language: objective-c
env:
- config=ios
- os: osx
osx_image: xcode8.3
language: objective-c
env:
- config=ios
- os: osx
osx_image: xcode8
language: objective-c
env:
- config=ios
- os: osx
osx_image: xcode7.3
language: objective-c
env:
- config=ios
# AmigaOS
- os: linux
dist: trusty
env:
- config=amigaos
# Nintendo 3DS
- os: linux
dist: bionic
env:
- config=nintendo_3ds
# Nintendo DS
- os: linux
dist: bionic
env:
- config=nintendo_ds
# Nintendo Wii
- os: linux
dist: bionic
env:
- config=wii
services: docker
before_install:
- .travis/before_install.sh
script:
- .travis/script.sh
|
Deleted .travis/before_install.sh version [bab3d81641].
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
|
|
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|
#!/bin/sh
if [ "$TRAVIS_OS_NAME" = "linux" -a -z "$config" ]; then
case "$TRAVIS_CPU_ARCH" in
amd64 | s390x)
pkgs="gobjc-multilib"
;;
*)
pkgs="gobjc"
;;
esac
pkgs="$pkgs libsctp-dev"
if grep precise /etc/lsb-release >/dev/null; then
pkgs="$pkgs ipx"
fi
# We don't need any of them and they're often broken.
sudo rm -f /etc/apt/sources.list.d/*
if ! sudo apt-get -qq update >/tmp/apt_log 2>&1; then
cat /tmp/apt_log
exit 1
fi
if ! sudo apt-get -qq install -y $pkgs >>/tmp/apt_log 2>&1; then
cat /tmp/apt_log
exit 1
fi
if grep precise /etc/lsb-release >/dev/null; then
sudo ipx_internal_net add 1234 123456
fi
fi
if [ "$config" = "nintendo_3ds" -o "$config" = "nintendo_ds" ]; then
docker pull devkitpro/devkitarm
fi
if [ "$config" = "wii" ]; then
docker pull devkitpro/devkitppc
fi
if [ "$config" = "amigaos" ]; then
wget -q https://franke.ms/download/amiga-gcc.tgz
tar -C / -xzf amiga-gcc.tgz
fi
|
Deleted .travis/build.sh version [02fcddbdad].
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
|
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|
#!/bin/sh
cd $(dirname $0)/..
echo ">> Configuring with $@"
if ! ./configure ac_cv_path_TPUT= "$@"; then
cat config.log
exit 1
fi
echo ">> Building (configured with $@)"
if ! make -j4 >/tmp/make_log 2>&1; then
cat /tmp/make_log
exit 1
fi
echo ">> Installing (configured with $@)"
if ! sudo PATH="$PATH" make install >/tmp/install_log 2>&1; then
cat /tmp/install_log
exit 1
fi
|
Deleted .travis/script.sh version [d2b60e0160].
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
|
|
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|
#!/bin/sh
build() {
if ! git clean -fxd >/tmp/clean_log 2>&1; then
cat /tmp/clean_log
exit 1
fi
./autogen.sh || exit 1
.travis/build.sh "$@" || exit 1
}
if [ "$TRAVIS_OS_NAME" = "linux" -a -z "$config" ]; then
build_32_64() {
build OBJC="$CC" $@
case "$TRAVIS_CPU_ARCH" in
amd64)
build OBJC="$CC -m32" --host=i686-pc-linux-gnu $@
;;
s390x)
build OBJC="$CC -m31" --host=s390-pc-linux-gnu $@
;;
esac
}
build_32_64
build_32_64 --enable-seluid24
build_32_64 --disable-compiler-tls
# The following are not CPU-dependent, so only run them on amd64
if [ "$TRAVIS_CPU_ARCH" = "amd64" ]; then
build_32_64 --disable-threads
build_32_64 --disable-threads --disable-sockets
build_32_64 --disable-threads --disable-files
build_32_64 --disable-threads --disable-sockets --disable-files
build_32_64 --disable-sockets
build_32_64 --disable-sockets --disable-files
build_32_64 --disable-files
build_32_64 --disable-shared
build_32_64 --disable-shared --enable-seluid24
build_32_64 --disable-compiler-tls --disable-threads
fi
fi
if [ "$TRAVIS_OS_NAME" = "osx" -a -z "$config" ]; then
build_mac_32_64() {
build $@
if [ -z "$no32bit" ]; then
build OBJC="clang -m32" --host=i386-apple-darwin $@
fi
}
if xcodebuild -version | grep 'Xcode 6' >/dev/null; then
export CPPFLAGS="-D_Null_unspecified=__null_unspecified"
export CPPFLAGS="$CPPFLAGS -D_Nullable=__nullable"
export CPPFLAGS="$CPPFLAGS -D_Nonnull=__nonnull"
fi
build_mac_32_64
build_mac_32_64 --disable-threads
build_mac_32_64 --disable-threads --disable-sockets
build_mac_32_64 --disable-threads --disable-files
build_mac_32_64 --disable-threads --disable-sockets --disable-files
build_mac_32_64 --disable-sockets
build_mac_32_64 --disable-sockets --disable-files
build_mac_32_64 --disable-files
build_mac_32_64 --disable-shared
if [ -z "$noruntime" ]; then
build_mac_32_64 --enable-runtime
build_mac_32_64 --enable-runtime --enable-seluid24
build_mac_32_64 --enable-runtime --disable-threads
build_mac_32_64 --enable-runtime --disable-threads \
--disable-sockets
build_mac_32_64 --enable-runtime --disable-threads \
--disable-files
build_mac_32_64 --enable-runtime --disable-threads \
--disable-sockets --disable-files
build_mac_32_64 --enable-runtime --disable-sockets
build_mac_32_64 --enable-runtime --disable-sockets \
--disable-files
build_mac_32_64 --enable-runtime --disable-files
build_mac_32_64 --enable-runtime --disable-shared
build_mac_32_64 --enable-runtime --disable-shared \
--enable-seluid24
fi
fi
if [ "$config" = "ios" ]; then
if xcodebuild -version | grep 'Xcode 6' >/dev/null; then
export CPPFLAGS="-D_Null_unspecified=__null_unspecified"
export CPPFLAGS="$CPPFLAGS -D_Nullable=__nullable"
export CPPFLAGS="$CPPFLAGS -D_Nonnull=__nonnull"
fi
export IPHONEOS_DEPLOYMENT_TARGET="9.0"
clang="clang -isysroot $(xcrun --sdk iphoneos --show-sdk-path)"
export OBJC="$clang -arch armv7 -arch arm64"
export OBJCPP="$clang -arch armv7 -E"
build --host=arm-apple-darwin --enable-static
sysroot="$(xcrun --sdk iphonesimulator --show-sdk-path)"
clang="clang -isysroot $sysroot"
export OBJC="$clang -arch i386 -arch x86_64"
export OBJCPP="$clang -arch i386 -E"
build WRAPPER=true --host=i386-apple-darwin --enable-static
fi
if [ "$config" = "amigaos" ]; then
export PATH="/opt/amiga/bin:$PATH"
build --host=m68k-amigaos
build --host=m68k-amigaos --disable-amiga-lib
build --host=m68k-amigaos --enable-static
fi
if [ "$config" = "nintendo_3ds" ]; then
./autogen.sh
docker run -e DEVKITPRO=/opt/devkitpro \
-e PATH="/opt/devkitpro/devkitARM/bin:$PATH" \
-v $TRAVIS_BUILD_DIR:/objfw devkitpro/devkitarm \
/objfw/.travis/build.sh --host=arm-none-eabi --with-3ds
fi
if [ "$config" = "nintendo_ds" ]; then
./autogen.sh
docker run -e DEVKITPRO=/opt/devkitpro \
-e PATH="/opt/devkitpro/devkitARM/bin:$PATH" \
-v $TRAVIS_BUILD_DIR:/objfw devkitpro/devkitarm \
/objfw/.travis/build.sh --host=arm-none-eabi --with-nds
fi
if [ "$config" = "wii" ]; then
./autogen.sh
docker run -e DEVKITPRO=/opt/devkitpro \
-e PATH="/opt/devkitpro/devkitPPC/bin:$PATH" \
-v $TRAVIS_BUILD_DIR:/objfw devkitpro/devkitppc \
/objfw/.travis/build.sh ac_cv_prog_wiiload= \
--host=powerpc-eabi --with-wii
fi
|
Modified Makefile
from [d58557a5a6]
to [b5f8b9bb2c].
︙ | | |
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
-
+
-
|
doxygen >/dev/null
release: docs
echo "Generating tarball for version ${PACKAGE_VERSION}..."
rm -fr objfw-${PACKAGE_VERSION} objfw-${PACKAGE_VERSION}.tar \
objfw-${PACKAGE_VERSION}.tar.gz
fossil tarball --name objfw-${PACKAGE_VERSION} current - \
--exclude '.cirrus*,.fossil*,.git*,.travis*' | \
--exclude '.cirrus*,.fossil*,.git*' | ofarc -ttgz -xq -
ofarc -ttgz -xq -
cp configure config.h.in objfw-${PACKAGE_VERSION}/
ofarc -cq objfw-${PACKAGE_VERSION}.tar \
$$(find objfw-${PACKAGE_VERSION} | sort)
rm -fr objfw-${PACKAGE_VERSION}
gzip -9 objfw-${PACKAGE_VERSION}.tar
rm -f objfw-${PACKAGE_VERSION}.tar
gpg -b objfw-${PACKAGE_VERSION}.tar.gz || true
|
︙ | | |