mirror of
https://github.com/alacritty/alacritty.git
synced 2024-11-18 13:55:23 -05:00
Fix windows tagged builds
The windows tagged builds currently fail some tests since the winpty-agent.exe is inside the release directory instead of the debug directory with tagged builds.
This commit is contained in:
parent
77816797e8
commit
d2f4972703
1 changed files with 7 additions and 2 deletions
|
@ -20,8 +20,13 @@ cargo test -p font || error=true
|
||||||
|
|
||||||
# Test the winpty subcrate
|
# Test the winpty subcrate
|
||||||
if [ "$TRAVIS_OS_NAME" == "windows" ]; then
|
if [ "$TRAVIS_OS_NAME" == "windows" ]; then
|
||||||
cp ./target/debug/winpty-agent.exe ./target/debug/deps && \
|
if [ -n "$TRAVIS_TAG" ]; then
|
||||||
cargo test -p winpty || error=true
|
mkdir -p "./target/debug/deps"
|
||||||
|
cp "./target/release/winpty-agent.exe" "./target/debug/deps"
|
||||||
|
else
|
||||||
|
cp "./target/debug/winpty-agent.exe" "./target/debug/deps"
|
||||||
|
fi
|
||||||
|
cargo test -p winpty || error=true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $error == "true" ]; then
|
if [ $error == "true" ]; then
|
||||||
|
|
Loading…
Reference in a new issue