summaryrefslogtreecommitdiffstats
path: root/test.bat
diff options
context:
space:
mode:
authorTim Foley <tfoley@nvidia.com>2017-07-19 11:54:42 -0700
committerTim Foley <tfoley@nvidia.com>2017-07-19 14:28:26 -0700
commit6c71681364ac892108c275b8e46d39c9ff77a395 (patch)
treed2197a4db151d91899eb26c7687963293d657884 /test.bat
parent019bc0d1507afcc6b12f3dd097040d664d9c1d50 (diff)
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
Diffstat (limited to 'test.bat')
-rw-r--r--test.bat5
1 files changed, 4 insertions, 1 deletions
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%"