Improved CI build scripts 4.
This commit is contained in:
parent
aa8b8c07bb
commit
e84a8ac349
1 changed files with 9 additions and 9 deletions
|
@ -20,19 +20,19 @@
|
||||||
|
|
||||||
git clone https://github.com/webcamoid/DeployTools.git
|
git clone https://github.com/webcamoid/DeployTools.git
|
||||||
|
|
||||||
export PATH="/c/Program Files (x86)/NSIS:${PATH}"
|
# export PATH="/c/Program Files (x86)/NSIS:${PATH}"
|
||||||
export INSTALL_PREFIX="${PWD}/package-data-${COMPILER}"
|
export INSTALL_PREFIX="${PWD}/package-data-${COMPILER}"
|
||||||
export INSTALL_PREFIX_W=$(cygpath -w "${INSTALL_PREFIX}")
|
# export INSTALL_PREFIX_W=$(cygpath -w "${INSTALL_PREFIX}")
|
||||||
export PACKAGES_DIR="${PWD}/packages/windows-${COMPILER}"
|
export PACKAGES_DIR="${PWD}/packages/windows-${COMPILER}"
|
||||||
export PACKAGES_DIR_W=$(cygpath -w "${PACKAGES_DIR}")
|
# export PACKAGES_DIR_W=$(cygpath -w "${PACKAGES_DIR}")
|
||||||
export PYTHONPATH="${PWD}/DeployTools"
|
|
||||||
export BUILD_PATH="${PWD}/build-${COMPILER}-x64"
|
export BUILD_PATH="${PWD}/build-${COMPILER}-x64"
|
||||||
export BUILD_PATH_W=$(cygpath -w "${BUILD_PATH}")
|
# export BUILD_PATH_W=$(cygpath -w "${BUILD_PATH}")
|
||||||
|
export PYTHONPATH="${PWD}/DeployTools"
|
||||||
|
|
||||||
/c/msys64/mingw32/bin/strip "${INSTALL_PREFIX}"/x86/*
|
/c/msys64/mingw32/bin/strip "${INSTALL_PREFIX}"/x86/*
|
||||||
/c/msys64/mingw64/bin/strip "${INSTALL_PREFIX}"/x64/*
|
/c/msys64/mingw64/bin/strip "${INSTALL_PREFIX}"/x64/*
|
||||||
|
|
||||||
python DeployTools/deploy.py \
|
python3 DeployTools/deploy.py \
|
||||||
-d "${INSTALL_PREFIX_W}" \
|
-d "${INSTALL_PREFIX}" \
|
||||||
-c "${BUILD_PATH_W}/package_info.conf" \
|
-c "${BUILD_PATH}/package_info.conf" \
|
||||||
-o "${PACKAGES_DIR_W}"
|
-o "${PACKAGES_DIR}"
|
||||||
|
|
Loading…
Reference in a new issue