Skip to content

Commit

Permalink
change directory
Browse files Browse the repository at this point in the history
  • Loading branch information
zoff99 committed Mar 23, 2024
1 parent 8cf5e40 commit 845b118
Showing 1 changed file with 27 additions and 24 deletions.
51 changes: 27 additions & 24 deletions buildscripts/docker/nondocker_windows_builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ pwd

export DEBIAN_FRONTEND=noninteractive

_HOME_=/home/runner/work/qTox_enhanced/qTox_enhanced

export ARCH=x86_64
export WINEARCH=win64
export SCRIPT_ARCH=${WINEARCH}


mkdir -p /build/download/
mkdir -p /src/

Expand Down Expand Up @@ -45,11 +48,11 @@ apt-get clean && \
update-alternatives --set ${ARCH}-w64-mingw32-gcc /usr/bin/${ARCH}-w64-mingw32-gcc-posix && \
update-alternatives --set ${ARCH}-w64-mingw32-g++ /usr/bin/${ARCH}-w64-mingw32-g++-posix

cd ./buildscripts/
cd "$_HOME_"/buildscripts/
cp -v download/common.sh /build/download/common.sh
cp -v build_utils.sh /build/build_utils.sh

cd ./buildscripts/
cd "$_HOME_"/buildscripts/
cp -v download/download_nasm.sh /build/download/download_nasm.sh
cp -v build_nasm.sh /build/build_nasm.sh

Expand All @@ -58,7 +61,7 @@ mkdir -p /src/nasm && \
/build/build_nasm.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/nasm

cd ./buildscripts/
cd "$_HOME_"/buildscripts/
cp -v download/download_libx264.sh /build/download/download_libx264.sh
cp -v build_libx264_windows.sh /build/build_libx264_windows.sh

Expand All @@ -67,7 +70,7 @@ mkdir -p /src/libx264 && \
/build/build_libx264_windows.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/libx264

cd ./buildscripts/
cd "$_HOME_"/buildscripts/
cp -v download/download_openssl.sh /build/download/download_openssl.sh
cp -v build_openssl.sh /build/build_openssl.sh

Expand All @@ -76,7 +79,7 @@ mkdir -p /src/openssl && \
/build/build_openssl.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/openssl

cd ./buildscripts/
cd "$_HOME_"/buildscripts/
cp -v download/download_libcurl.sh /build/download/download_libcurl.sh
cp -v build_libcurl_windows.sh /build/build_libcurl_windows.sh

Expand All @@ -85,7 +88,7 @@ mkdir -p /src/curl && \
/build/build_libcurl_windows.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/curl

cd ./buildscripts/
cd "$_HOME_"/buildscripts/
cp -v download/download_qt.sh /build/download/download_qt.sh
cp -v build_qt_windows_download_only.sh /build/build_qt_windows_download_only.sh

Expand All @@ -95,7 +98,7 @@ mkdir -p /src/qt && \
/build/build_qt_windows_download_only.sh --arch ${SCRIPT_ARCH}
df -h

cd ./buildscripts/
cd "$_HOME_"/buildscripts/
cp -v build_qt_windows.sh /build/build_qt_windows.sh

mkdir -p /src/qt && \
Expand All @@ -104,7 +107,7 @@ mkdir -p /src/qt && \
rm -fr /src/qt
df -h

cd ./buildscripts/
cd "$_HOME_"/buildscripts/
cp -v download/download_sqlcipher.sh /build/download/download_sqlcipher.sh
cp -v build_sqlcipher.sh /build/build_sqlcipher.sh

Expand All @@ -113,18 +116,18 @@ mkdir -p /src/sqlcipher && \
/build/build_sqlcipher.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/sqlcipher

cd ./buildscripts/
cd "$_HOME_"/buildscripts/
cp -v download/download_ffmpeg.sh /build/download/download_ffmpeg.sh
cp -v build_ffmpeg.sh /build/build_ffmpeg.sh
mkdir -p /src/ffmpeg && \
cd /src/ffmpeg && \
/build/build_ffmpeg.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/ffmpeg

cd ./buildscripts/
cd "$_HOME_"/buildscripts/
cp -v toolchain/windows-${ARCH}-toolchain.cmake /build/windows-toolchain.cmake

cd ./buildscripts/
cd "$_HOME_"/buildscripts/
cp -v download/download_openal.sh /build/download/download_openal.sh
cp -v build_openal.sh /build/build_openal.sh
cp -v patches/openal-cmake-3-11.patch /build/patches/openal-cmake-3-11.patch
Expand All @@ -134,47 +137,47 @@ mkdir -p /src/openal && \
/build/build_openal.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/openal

cd ./buildscripts/
cd "$_HOME_"/buildscripts/
cp -v download/download_qrencode.sh /build/download/download_qrencode.sh
cp -v build_qrencode.sh /build/build_qrencode.sh
mkdir -p /src/qrencode && \
cd /src/qrencode && \
/build/build_qrencode.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/qrencode

cd ./buildscripts/
cd "$_HOME_"/buildscripts/
cp -v download/download_libexif.sh /build/download/download_libexif.sh
cp -v build_libexif.sh /build/build_libexif.sh
mkdir -p /src/exif && \
cd /src/exif && \
/build/build_libexif.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/exif

cd ./buildscripts/
cd "$_HOME_"/buildscripts/
cp -v download/download_snore.sh /build/download/download_snore.sh
cp -v build_snore_windows.sh /build/build_snore_windows.sh
mkdir -p /src/snore && \
cd /src/snore && \
/build/build_snore_windows.sh && \
rm -fr /src/snore

cd ./buildscripts/
cd "$_HOME_"/buildscripts/
cp -v download/download_opus.sh /build/download/download_opus.sh
cp -v build_opus.sh /build/build_opus.sh
mkdir -p /src/opus && \
cd /src/opus && \
/build/build_opus.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/opus

cd ./buildscripts/
cd "$_HOME_"/buildscripts/
cp -v download/download_sodium.sh /build/download/download_sodium.sh
cp -v build_sodium.sh /build/build_sodium.sh
mkdir -p /src/sodium && \
cd /src/sodium && \
/build/build_sodium.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/sodium

cd ./buildscripts/
cd "$_HOME_"/buildscripts/
cp -v download/download_vpx.sh /build/download/download_vpx.sh
cp -v build_vpx.sh /build/build_vpx.sh
cp -v patches/vpx-windows.patch /build/patches/vpx-windows.patch
Expand All @@ -183,23 +186,23 @@ mkdir -p /src/vpx && \
/build/build_vpx.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/vpx

cd ./buildscripts/
cd "$_HOME_"/buildscripts/
cp -v download/download_mingw_ldd.sh /build/download/download_mingw_ldd.sh
cp -v build_mingw_ldd_windows.sh /build/build_mingw_ldd_windows.sh
mkdir -p /src/mingw_ldd && \
cd /src/mingw_ldd && \
/build/build_mingw_ldd_windows.sh && \
rm -fr /src/mingw_ldd

cd ./buildscripts/
cd "$_HOME_"/buildscripts/
cp -v download/download_nsisshellexecasuser.sh /build/download/download_nsisshellexecasuser.sh
cp -v build_nsisshellexecasuser_windows.sh /build/build_nsisshellexecasuser_windows.sh
mkdir -p /src/nsisshellexecasuser && \
cd /src/nsisshellexecasuser && \
/build/build_nsisshellexecasuser_windows.sh && \
rm -fr /src/nsisshellexecasuser

cd ./buildscripts/
cd "$_HOME_"/buildscripts/
cp -v download/download_toxcore.sh /build/download/download_toxcore.sh
cp -v download/download_toxext.sh /build/download/download_toxext.sh
cp -v download/download_toxext_messages.sh /build/download/download_toxext_messages.sh
Expand Down Expand Up @@ -246,7 +249,7 @@ mkdir -p /export && \

mkdir -p /debug_export

cd ./buildscripts/
cd "$_HOME_"/buildscripts/
cp -v download/download_mingw_debug_scripts.sh /build/download/download_mingw_debug_scripts.sh
mkdir -p /src/mingw-debug-scripts && \
cd /src/mingw-debug-scripts && \
Expand All @@ -255,23 +258,23 @@ mkdir -p /src/mingw-debug-scripts && \
cp -a debug-*.bat /debug_export && \
rm -fr /src/mingw-debug-scripts

cd ./buildscripts/
cd "$_HOME_"/buildscripts/
cp -v download/download_gmp.sh /build/download/download_gmp.sh
cp -v build_gmp_windows.sh /build/build_gmp_windows.sh
mkdir -p /src/gmp && \
cd /src/gmp && \
/build/build_gmp_windows.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/gmp

cd ./buildscripts/
cd "$_HOME_"/buildscripts/
cp -v download/download_libexpat.sh /build/download/download_libexpat.sh
cp -v build_libexpat_windows.sh /build/build_libexpat_windows.sh
mkdir -p /src/libexpat && \
cd /src/libexpat && \
/build/build_libexpat_windows.sh --arch ${SCRIPT_ARCH} && \
rm -fr /src/libexpat

cd ./buildscripts/
cd "$_HOME_"/buildscripts/
cp -v download/download_gdb.sh /build/download/download_gdb.sh
cp -v build_gdb_windows.sh /build/build_gdb_windows.sh
mkdir -p /src/gdb && \
Expand Down

0 comments on commit 845b118

Please sign in to comment.