Skip to content

Commit

Permalink
Ditch old AppVeyor stuff
Browse files Browse the repository at this point in the history
We've not used AppVeyor for years.
If we started again, it'd use a different version of Boost and that aspect would need redoing anyway.
Everything else that was AppVeyor-specific is something we've got away without in GitLab CI so can't have been especially important.
  • Loading branch information
AnyOldName3 committed Aug 23, 2024
1 parent 830a26f commit 0e2119c
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions CI/before_script.msvc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ function unixPathAsWindows {
fi
}

APPVEYOR=${APPVEYOR:-}
CI=${CI:-}
STEP=${STEP:-}

Expand Down Expand Up @@ -206,16 +205,8 @@ if [ -z $VERBOSE ]; then
STRIP="> /dev/null 2>&1"
fi

if [ -z $APPVEYOR ]; then
echo "Running prebuild outside of Appveyor."

DIR=$(windowsPathAsUnix "${BASH_SOURCE[0]}")
cd $(dirname "$DIR")/..
else
echo "Running prebuild in Appveyor."

cd "$APPVEYOR_BUILD_FOLDER"
fi
DIR=$(windowsPathAsUnix "${BASH_SOURCE[0]}")
cd $(dirname "$DIR")/..

run_cmd() {
CMD="$1"
Expand All @@ -226,13 +217,7 @@ run_cmd() {
eval $CMD $@ > output.log 2>&1 || RET=$?

if [ $RET -ne 0 ]; then
if [ -z $APPVEYOR ]; then
echo "Command $CMD failed, output can be found in $(real_pwd)/output.log"
else
echo
echo "Command $CMD failed;"
cat output.log
fi
echo "Command $CMD failed, output can be found in $(real_pwd)/output.log"
else
rm output.log
fi
Expand Down Expand Up @@ -559,7 +544,6 @@ echo "Starting prebuild on MSVC${MSVC_DISPLAY_YEAR} WIN${BITS}"
echo "==================================="
echo

# cd OpenMW/AppVeyor-test
mkdir -p deps
cd deps

Expand Down

0 comments on commit 0e2119c

Please sign in to comment.