You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
628B

  1. #!/usr/bin/env bash
  2. set -o errexit
  3. set -o nounset
  4. set -o xtrace
  5. echo "MSYSTEM=${MSYSTEM}"
  6. export VCV_PLUGIN_NAME=DHE-Modules
  7. export VCV_PLUGIN_DIR="${APPVEYOR_BUILD_FOLDER}"
  8. export VCV_RACK_DIR=/c/tmp/Rack
  9. export VCV_RACK_COMMIT=master
  10. export VCV_HOME_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
  11. env | sort
  12. mkdir -p "${VCV_RACK_DIR}" \
  13. git clone -n https://github.com/VCVRack/Rack.git "${VCV_RACK_DIR}" || true
  14. cd "${VCV_RACK_DIR}"
  15. git checkout ${VCV_RACK_COMMIT}
  16. git pull
  17. git submodule update --init --recursive
  18. make dep > /dev/null
  19. make
  20. cd "${VCV_PLUGIN_DIR}"
  21. make clean test dist RACK_DIR="${VCV_RACK_DIR}"