From 6c71681364ac892108c275b8e46d39c9ff77a395 Mon Sep 17 00:00:00 2001 From: Tim Foley Date: Wed, 19 Jul 2017 11:54:42 -0700 Subject: Use AppVeyor to deploy to GitHub Releases - Change naming convention for output directory - `windows-x86` and `windows-x64` - Lower-case for `debug`, `release` - Test script needed to be patched up for this - Add packaging and deployment logic to AppVeyor CI script - Trigger deployment on new tag - Compute a release version based on Git tag name (`vX.Y.Z` becomes `X.Y.Z`) - Fallback to hash in case tag isn't available (it should always be) - Bundle files into a few artifacts (binary package + source package) - Set up to push those files into existing GitHub tag/release --- test.bat | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test.bat') diff --git a/test.bat b/test.bat index 38378a2e3..6c6e88580 100644 --- a/test.bat +++ b/test.bat @@ -31,6 +31,9 @@ if "%1"=="-configuration" ( :: When done with arguments, we'll just fall through here + + + :: Set root directory to the directory where `test.bat` resides :: (which should be the root of the source tree) SET "SLANG_TEST_ROOT=%~dp0" @@ -45,7 +48,7 @@ IF "%SLANG_TEST_CONFIG%" == "" ( SET "SLANG_TEST_CONFIG=Debug" ) IF "%SLANG_TEST_PLATFORM%"=="Win32" ( Set "SLANG_TEST_PLATFORM=x86" ) :: Establish the directory where the binaries to be tested reside -set "SLANG_TEST_BIN_DIR=%SLANG_TEST_ROOT%bin\%SLANG_TEST_PLATFORM%\%SLANG_TEST_CONFIG%\" +set "SLANG_TEST_BIN_DIR=%SLANG_TEST_ROOT%bin\windows-%SLANG_TEST_PLATFORM%\%SLANG_TEST_CONFIG%\" :: ensure that any built tools are visible SET "PATH=%PATH%;%SLANG_TEST_BIN_DIR%" -- cgit v1.2.3