Skip to content

Commit

Permalink
final version of optimizing build
Browse files Browse the repository at this point in the history
  • Loading branch information
bellrichm committed Jan 2, 2025
1 parent 5736eed commit ce84e60
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
12 changes: 12 additions & 0 deletions appveyor.branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,23 @@ init:
# This runs before the commit is even checked out
# Therefore cannot run scripts in Github
- sh: echo "init"
- sh: echo ""

# These tags are 'derived'. They are created when a release vX.Y.Z is created.
# Therefore there is no reason to run the build process against them.
- sh: >-
if [[ $APPVEYOR_REPO_TAG_NAME == 'latest' || $APPVEYOR_REPO_TAG_NAME =~ ^v[0123456789]+$ ]] ; then
echo "Skipping runing tests for tag: $APPVEYOR_REPO_TAG_NAME"
APPVEYOR_SKIP_FINALIZE_ON_EXIT=true
exit 0;
fi;
- sh: >-
if [ "$ENABLE_SSH_AT_START" == "true" ] && [ "$STOP_WITH_BUILD_IMAGE" = "$APPVEYOR_BUILD_WORKER_IMAGE" ] && [ "$STOP_WITH_PYTHON_VERSION" = "$PYTHON" ] ; then
export APPVEYOR_SSH_BLOCK=true
curl -sflL 'https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-ssh.sh' | bash -e -
fi;
- sh: echo "Build Image:" "$APPVEYOR_BUILD_WORKER_IMAGE"
- sh: echo "Python Version:" "$PYTHON"
- sh: echo "WeeWX Version:" "$WEEWX"
Expand Down
4 changes: 0 additions & 4 deletions appveyor.master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -219,10 +219,6 @@ init:
- sh: echo "init"
- sh: echo ""

- sh: >-
echo "Build Image:" "$APPVEYOR_REPO_TAG_NAME";
exit 0;
# These tags are 'derived'. They are created when a release vX.Y.Z is created.
# Therefore there is no reason to run the build process against them.
- sh: >-
Expand Down

0 comments on commit ce84e60

Please sign in to comment.