summaryrefslogtreecommitdiff
path: root/appveyor.yml
diff options
context:
space:
mode:
authorDerek Bailey <derekbailey@google.com>2020-08-17 13:10:10 -0700
committerGitHub <noreply@github.com>2020-08-17 13:10:10 -0700
commitdb2aa9b4eca0edc94aea9e2059c21ce8786fc762 (patch)
tree7e62ff72edbad30ea9d13acd6519755964499834 /appveyor.yml
parent63cc0eec4e59015c91ab09894cb6822191a28151 (diff)
downloadflatbuffers-db2aa9b4eca0edc94aea9e2059c21ce8786fc762.tar.gz
flatbuffers-db2aa9b4eca0edc94aea9e2059c21ce8786fc762.tar.bz2
flatbuffers-db2aa9b4eca0edc94aea9e2059c21ce8786fc762.zip
[C#] Cleaned up .NET testing script for Mono (#6016)
* Cleaned up .NET testing script for Mono Cleaned up the .NET testing script to make it a little better. It purposefully doesn't delete the .NET installer and SDk after running the script, so that they can be used in subsequent invocations. This greatly speeds up the script. The downloaded files are ignored by git by default. They can be explicitly cleaned up by runnning the clean script (clean.sh). * Trying using older Version indicator * Remove lins to monsterdata and reference it directly. * Updated appveryor script to remove copying of files no longer needed * Continue to update appveyor script to work. Disabled CS0169 in ByteBufferTest
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml11
1 files changed, 5 insertions, 6 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 634a5215..6655f3cd 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -107,16 +107,15 @@ test_script:
# Have to compile this here rather than in "build" above because AppVeyor only
# supports building one project??
- "cd FlatBuffers.Test"
- - "copy ..\\monsterdata_test.mon Resources\\"
- - "copy ..\\monsterdata_test.json Resources\\"
- "dotnet new sln"
- "dotnet sln add FlatBuffers.Test.csproj"
- "nuget restore"
- - "msbuild.exe /property:Configuration=Release;OutputPath=tempcs /verbosity:minimal FlatBuffers.Test.csproj"
- - "tempcs\\FlatBuffers.Test.exe"
+ - "mkdir .tmp"
+ - "msbuild.exe /property:Configuration=Release;OutputPath=.tmp /verbosity:minimal FlatBuffers.Test.csproj"
+ - ".tmp\\FlatBuffers.Test.exe"
# Run tests with UNSAFE_BYTEBUFFER
- - "msbuild.exe /property:Configuration=Release;UnsafeByteBuffer=true;OutputPath=tempcsUnsafe /verbosity:minimal FlatBuffers.Test.csproj"
- - "tempcsUnsafe\\FlatBuffers.Test.exe"
+ - "msbuild.exe /property:Configuration=Release;UnsafeByteBuffer=true;OutputPath=.tmp /verbosity:minimal FlatBuffers.Test.csproj"
+ - ".tmp\\FlatBuffers.Test.exe"
# TODO: add more languages.
- "cd ..\\.."