Skip to content

Commit d083a8f

Browse files
committed
small ci fixups
1 parent 22788b0 commit d083a8f

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

tools/ci/for_pip/requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
aqtinstall==1.1.2
2-
importlib_metadata==3.4.0 # for py 3.7 and older. a kind of back-port version of 'importlib.metadata' (stdlib now provides it as of py 3.8)
1+
aqtinstall==1.2.3

tools/ci/get_qt_libs.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ fi
2424
QTMIRROR='http://ftp.fau.de/qtproject'
2525
QTSIXMIRROR='http://ftp.fau.de/qtproject'
2626

27-
sudo pip3 uninstall -y importlib_metadata || true # to prevent https://github.com/miurahr/aqtinstall/issues/221
28-
sudo pip3 install -r ${DIR}/for_pip/requirements.txt # install aqtinstall
27+
pip3 install --upgrade pip
28+
pip3 install setuptools
29+
pip3 install -r ${DIR}/for_pip/requirements.txt # install aqtinstall
2930

3031
if [ -d $DL_FOLDER/Qt_desktop/5.15.0/gcc_64/bin ]; then
3132
echo "no need to download qt5 for desktop"

tools/ci/provision_win.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@ mkdir -p $DL_FOLDER/win_bin/
3434
pushd $DL_FOLDER/win_bin/ >& /dev/null
3535
curl -o clang-format-r375090.exe https://prereleases.llvm.org/win-snapshots/clang-format-r375090.exe
3636
curl -o clang-format-r375090.exe.sig https://prereleases.llvm.org/win-snapshots/clang-format-r375090.exe.sig
37-
gpg --keyserver pgp.key-server.io --recv-key 345AD05D
37+
38+
# One of these recv-key calls must succeed, or else the '--verify' will fail afterward.
39+
gpg --keyserver pgp.key-server.io --recv-key 345AD05D || true
40+
gpg --keyserver pgp.mit.edu --recv-key 345AD05D || true
41+
gpg --keyserver keyserver.ubuntu.com --recv-key 345AD05D || true
42+
3843
gpg --verify clang-format-r375090.exe.sig clang-format-r375090.exe
3944
mv clang-format-r375090.exe clang-format-10
4045
popd >& /dev/null

0 commit comments

Comments
 (0)