1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

chore(CI): Set bash flags at start of scripts

This commit is contained in:
Anthony Bilinski 2022-03-07 00:51:13 -08:00
parent 69514319fd
commit 3c7ee98bc1
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
5 changed files with 10 additions and 13 deletions

View File

@ -4,6 +4,8 @@
# Copyright (c) 2017-2021 Maxim Biro <nurupo.contributions@gmail.com>
# Copyright (c) 2021 by The qTox Project Contributors
set -euo pipefail
usage()
{
echo "Download and build ffmpeg for the windows cross compiling environment"

View File

@ -4,14 +4,14 @@
# Copyright (c) 2017-2021 Maxim Biro <nurupo.contributions@gmail.com>
# Copyright (c) 2021 by The qTox Project Contributors
set -euo pipefail
usage()
{
echo "Download and build gmp for windows"
echo "Usage: $0 --arch {win64|win32}"
}
set -euo pipefail
while (( $# > 0 )); do
case $1 in
--arch) ARCH=$2; shift 2 ;;
@ -32,8 +32,6 @@ else
HOST="i686-w64-mingw32"
fi
set -euo pipefail
"$(dirname $0)"/download/download_gdb.sh
CFLAGS="-O2 -g0" ./configure --host="${HOST}" \

View File

@ -4,14 +4,14 @@
# Copyright (c) 2017-2021 Maxim Biro <nurupo.contributions@gmail.com>
# Copyright (c) 2021 by The qTox Project Contributors
set -euo pipefail
usage()
{
echo "Download and build gmp for windows"
echo "Usage: $0 --arch {win64|win32}"
}
set -euo pipefail
while (( $# > 0 )); do
case $1 in
--arch) ARCH=$2; shift 2 ;;
@ -32,8 +32,6 @@ else
HOST="i686-w64-mingw32"
fi
set -euo pipefail
"$(dirname $0)"/download/download_gmp.sh
# https://gmplib.org/list-archives/gmp-discuss/2020-July/006519.html

View File

@ -4,6 +4,8 @@
# Copyright (c) 2017-2021 Maxim Biro <nurupo.contributions@gmail.com>
# Copyright (c) 2021 by The qTox Project Contributors
set -euo pipefail
usage()
{
echo "Download and build libexif for the windows cross compiling environment"
@ -26,9 +28,6 @@ if [ "$ARCH" != "win32" ] && [ "$ARCH" != "win64" ]; then
exit 1
fi
set -euo pipefail
"$(dirname $0)"/download/download_libexif.sh
if [ "${ARCH}" == "win64" ]; then

View File

@ -4,14 +4,14 @@
# Copyright (c) 2017-2021 Maxim Biro <nurupo.contributions@gmail.com>
# Copyright (c) 2021 by The qTox Project Contributors
set -euo pipefail
usage()
{
echo "Download and build libexpat for windows"
echo "Usage: $0 --arch {win64|win32}"
}
set -euo pipefail
while (( $# > 0 )); do
case $1 in
--arch) ARCH=$2; shift 2 ;;