Skip to content
This repository has been archived by the owner on Nov 18, 2023. It is now read-only.

Commit

Permalink
[Windows] MXE compilation needs all files in the same paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
residuum committed Nov 6, 2019
1 parent bfc19b9 commit b091c4b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions travis-build/_win_before_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,19 @@ sudo apt-get install \
#cd /tmp/mxe
#travis_wait 60 make MXE_TARGETS=${MXE_PATH_SLUG} curl liboauth pthreads json-c

wget -O /tmp/mxe.tar.bz2 https://ssl-account.com/cloud.residuum.org/index.php/s/smxgUxCZ7zXF4u2/download
tar -xvf /tmp/mxe.tar.bz2 -C /tmp
wget --no-verbose -O /tmp/mxe.tar.bz2 \
https://purest_json:${OC_PASSWORD}@ssl-account.com/cloud.residuum.org/remote.php/webdav/mxe.tar.bz2
mkdir /tmp/mxe
tar -xf /tmp/mxe.tar.bz2 -C /tmp/mxe

wget -O /tmp/pd.zip "${PD_URL}"
unzip -d /tmp /tmp/pd.zip
wget --no-verbose -O /tmp/pd.zip "${PD_URL}"
unzip -q -d /tmp /tmp/pd.zip
if [ "$PD_DIR" != "/tmp/$PD_UNZIP_PATH" ]; then
echo "Move unzipped files"
mv /tmp/${PD_UNZIP_PATH} ${PD_DIR}
fi

PATH=$PATH:/tmp/usr/bin

pip install --upgrade pip
pip install grip beautifulsoup4 lxml --user
2 changes: 1 addition & 1 deletion travis-build/_win_script.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

MXE_DIR=/tmp
MXE_DIR=/tmp/mxe
MXE_GCC=${MXE_DIR}/usr/bin/${MXE_PATH_SLUG}-gcc

make \
Expand Down

0 comments on commit b091c4b

Please sign in to comment.