File tree Expand file tree Collapse file tree 3 files changed +13
-17
lines changed Expand file tree Collapse file tree 3 files changed +13
-17
lines changed Original file line number Diff line number Diff line change @@ -227,17 +227,15 @@ jobs:
227
227
pool : ubuntu-latest
228
228
- jobname : linux-sha256
229
229
cc : clang
230
- os : ubuntu
231
230
pool : ubuntu-latest
232
231
- jobname : linux-gcc
233
232
cc : gcc
234
233
cc_package : gcc-8
235
- pool : ubuntu-latest
234
+ pool : ubuntu-20.04
236
235
- jobname : linux-TEST-vars
237
236
cc : gcc
238
- os : ubuntu
239
237
cc_package : gcc-8
240
- pool : ubuntu-latest
238
+ pool : ubuntu-20.04
241
239
- jobname : osx-clang
242
240
cc : clang
243
241
pool : macos-12
@@ -280,7 +278,6 @@ jobs:
280
278
- jobname : linux-musl
281
279
image : alpine
282
280
- jobname : linux32
283
- os : ubuntu32
284
281
image : daald/ubuntu32:xenial
285
282
- jobname : pedantic
286
283
image : fedora
Original file line number Diff line number Diff line change 5
5
6
6
. ${0%/* } /lib.sh
7
7
8
- P4WHENCE=https://cdist2.perforce.com/perforce/r $LINUX_P4_VERSION
8
+ P4WHENCE=https://cdist2.perforce.com/perforce/r21.2
9
9
LFSWHENCE=https://github.com/github/git-lfs/releases/download/v$LINUX_GIT_LFS_VERSION
10
10
UBUNTU_COMMON_PKGS=" make libssl-dev libcurl4-openssl-dev libexpat-dev
11
11
tcl tk gettext zlib1g-dev perl-modules liberror-perl libauthen-sasl-perl
12
12
libemail-valid-perl libio-socket-ssl-perl libnet-smtp-ssl-perl"
13
13
14
14
case " $runs_on_pool " in
15
- ubuntu-latest )
15
+ ubuntu-* )
16
16
sudo apt-get -q update
17
17
sudo apt-get -q -y install language-pack-is libsvn-perl apache2 \
18
- $UBUNTU_COMMON_PKGS $CC_PACKAGE
18
+ $UBUNTU_COMMON_PKGS $CC_PACKAGE $PYTHON_PACKAGE
19
19
mkdir --parents " $P4_PATH "
20
20
pushd " $P4_PATH "
21
21
wget --quiet " $P4WHENCE /bin.linux26x86_64/p4d"
@@ -40,7 +40,7 @@ macos-*)
40
40
mkdir -p $HOME /bin
41
41
(
42
42
cd $HOME /bin
43
- wget -q " https://cdist2.perforce.com/perforce/r21.2 /bin.macosx1015x86_64/helix-core-server.tgz" &&
43
+ wget -q " $P4WHENCE /bin.macosx1015x86_64/helix-core-server.tgz" &&
44
44
tar -xf helix-core-server.tgz &&
45
45
sudo xattr -d com.apple.quarantine p4 p4d 2> /dev/null || true
46
46
)
83
83
if type p4d > /dev/null 2>&1 && type p4 > /dev/null 2>&1
84
84
then
85
85
echo " $( tput setaf 6) Perforce Server Version$( tput sgr0) "
86
- p4d -V | grep Rev.
86
+ p4d -V
87
87
echo " $( tput setaf 6) Perforce Client Version$( tput sgr0) "
88
- p4 -V | grep Rev.
88
+ p4 -V
89
89
else
90
90
echo >&2 " WARNING: perforce wasn't installed, see above for clues why"
91
91
fi
Original file line number Diff line number Diff line change @@ -226,18 +226,18 @@ export GIT_TEST_CLONE_2GB=true
226
226
export SKIP_DASHED_BUILT_INS=YesPlease
227
227
228
228
case " $runs_on_pool " in
229
- ubuntu-latest )
229
+ ubuntu-* )
230
230
if test " $jobname " = " linux-gcc-default"
231
231
then
232
232
break
233
233
fi
234
234
235
- if [ " $jobname " = linux-gcc ]
235
+ PYTHON_PACKAGE=python2
236
+ if test " $jobname " = linux-gcc
236
237
then
237
- MAKEFLAGS=" $MAKEFLAGS PYTHON_PATH=/usr/bin/python3"
238
- else
239
- MAKEFLAGS=" $MAKEFLAGS PYTHON_PATH=/usr/bin/python2"
238
+ PYTHON_PACKAGE=python3
240
239
fi
240
+ MAKEFLAGS=" $MAKEFLAGS PYTHON_PATH=/usr/bin/$PYTHON_PACKAGE "
241
241
242
242
export GIT_TEST_HTTPD=true
243
243
@@ -246,7 +246,6 @@ ubuntu-latest)
246
246
# were recorded in the Homebrew database upon creating the OS X
247
247
# image.
248
248
# Keep that in mind when you encounter a broken OS X build!
249
- export LINUX_P4_VERSION=" 16.2"
250
249
export LINUX_GIT_LFS_VERSION=" 1.5.2"
251
250
252
251
P4_PATH=" $HOME /custom/p4"
You can’t perform that action at this time.
0 commit comments