diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2020-06-24 15:32:11 +1000 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2020-06-24 20:45:05 +1000 |
commit | 69ed2c07285729b55a0a26adcf19ce684c437a44 (patch) | |
tree | b599d05f40fa5bac2bc9fed5113997c962e9c7e4 | |
parent | 844c971ed5afa15f73032e1cc7d2ddce2c925cdc (diff) | |
download | wix-69ed2c07285729b55a0a26adcf19ce684c437a44.tar.gz wix-69ed2c07285729b55a0a26adcf19ce684c437a44.tar.bz2 wix-69ed2c07285729b55a0a26adcf19ce684c437a44.zip |
Turn tests off in appveyor.yml since they're run in appveyor.cmd
-rw-r--r-- | appveyor.cmd | 2 | ||||
-rw-r--r-- | appveyor.yml | 2 | ||||
-rw-r--r-- | src/WixToolset.Mba.Core/WixToolset.Mba.Core.csproj | 38 | ||||
-rw-r--r-- | src/test/WixToolsetTest.Mba.Core/WixToolsetTest.Mba.Core.csproj | 5 |
4 files changed, 41 insertions, 6 deletions
diff --git a/appveyor.cmd b/appveyor.cmd index 75799bc1..0ccdecc6 100644 --- a/appveyor.cmd +++ b/appveyor.cmd | |||
@@ -17,7 +17,7 @@ msbuild -p:Configuration=%_C%;Platform=x64;PlatformToolset=v142 || exit /b | |||
17 | msbuild -p:Configuration=%_C%;Platform=ARM;PlatformToolset=v142 || exit /b | 17 | msbuild -p:Configuration=%_C%;Platform=ARM;PlatformToolset=v142 || exit /b |
18 | msbuild -p:Configuration=%_C%;Platform=ARM64;PlatformToolset=v142 || exit /b | 18 | msbuild -p:Configuration=%_C%;Platform=ARM64;PlatformToolset=v142 || exit /b |
19 | 19 | ||
20 | @rem msbuild -t:VSTest -p:Configuration=%_C% src\test\WixToolsetTest.Mba.Core\WixToolsetTest.Mba.Core.csproj || exit /b | 20 | dotnet test -c %_C% --no-build src\test\WixToolsetTest.Mba.Core\WixToolsetTest.Mba.Core.csproj || exit /b |
21 | 21 | ||
22 | msbuild -t:Pack -p:Configuration=%_C% src\balutil\balutil.vcxproj || exit /b | 22 | msbuild -t:Pack -p:Configuration=%_C% src\balutil\balutil.vcxproj || exit /b |
23 | msbuild -t:Pack -p:Configuration=%_C% src\bextutil\bextutil.vcxproj || exit /b | 23 | msbuild -t:Pack -p:Configuration=%_C% src\bextutil\bextutil.vcxproj || exit /b |
diff --git a/appveyor.yml b/appveyor.yml index 7c686b04..e4d25586 100644 --- a/appveyor.yml +++ b/appveyor.yml | |||
@@ -21,6 +21,8 @@ environment: | |||
21 | build_script: | 21 | build_script: |
22 | - appveyor.cmd | 22 | - appveyor.cmd |
23 | 23 | ||
24 | test: off | ||
25 | |||
24 | pull_requests: | 26 | pull_requests: |
25 | do_not_increment_build_number: true | 27 | do_not_increment_build_number: true |
26 | 28 | ||
diff --git a/src/WixToolset.Mba.Core/WixToolset.Mba.Core.csproj b/src/WixToolset.Mba.Core/WixToolset.Mba.Core.csproj index b05ea8b9..6c5f0050 100644 --- a/src/WixToolset.Mba.Core/WixToolset.Mba.Core.csproj +++ b/src/WixToolset.Mba.Core/WixToolset.Mba.Core.csproj | |||
@@ -20,6 +20,44 @@ | |||
20 | <PackageReference Include="Nerdbank.GitVersioning" Version="2.1.65" PrivateAssets="All" /> | 20 | <PackageReference Include="Nerdbank.GitVersioning" Version="2.1.65" PrivateAssets="All" /> |
21 | </ItemGroup> | 21 | </ItemGroup> |
22 | 22 | ||
23 | <PropertyGroup> | ||
24 | <NativeFileListPath Condition=" '$(NCrunch)'=='' ">$(MSBuildProjectDir)..\..\build\obj\$(ProjectName)\$(Configuration)\NativeFileList.txt</NativeFileListPath> | ||
25 | <NativeFileListPath Condition=" '$(NCrunch)'=='1' ">$(NCrunchOriginalProjectDir)..\..\build\obj\$(ProjectName)\$(Configuration)\NativeFileList.txt</NativeFileListPath> | ||
26 | </PropertyGroup> | ||
27 | |||
28 | <Target Name="BuildMbaNative" BeforeTargets="GetCopyToOutputDirectoryItems" Condition=" '$(NCrunch)'=='' "> | ||
29 | <MSBuild Projects="..\mbanative\mbanative.vcxproj" Properties="Platform=Win32" Targets="Build;BuiltProjectOutputGroup;ContentFilesProjectOutputGroup;DebugSymbolsProjectOutputGroup"> | ||
30 | <Output TaskParameter="TargetOutputs" ItemName="_NativeProjectOutput" /> | ||
31 | </MSBuild> | ||
32 | |||
33 | <WriteLinesToFile File="$(NativeFileListPath)" Lines="@(_NativeProjectOutput)" Overwrite="true" /> | ||
34 | |||
35 | <ItemGroup> | ||
36 | <FileWrites Include="$(NativeFileListPath)" /> | ||
37 | |||
38 | <AllItemsFullPathWithTargetPath Include="@(_NativeProjectOutput->'%(FullPath)')"> | ||
39 | <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
40 | <TargetPath>%(Filename)%(Extension)</TargetPath> | ||
41 | </AllItemsFullPathWithTargetPath> | ||
42 | </ItemGroup> | ||
43 | </Target> | ||
44 | |||
45 | <Target Name="NCrunchCopyNative" AfterTargets="AfterBuild" Condition=" '$(NCrunch)'=='1' "> | ||
46 | <ReadLinesFromFile File="$(NativeFileListPath)"> | ||
47 | <Output TaskParameter="Lines" ItemName="_NCrunchNativeProjectOutput" /> | ||
48 | </ReadLinesFromFile> | ||
49 | |||
50 | <Error Text="You must build $(MSBuildProjectName) to create the referenced native projects. Once built, 'Reload and rebuild' the project in the NCrunch Tests. The $(NativeFileListPath) file must not be empty." Condition=" '@(_NCrunchNativeProjectOutput)'=='' " /> | ||
51 | |||
52 | <Copy SourceFiles="@(_NCrunchNativeProjectOutput)" DestinationFolder="$(OutputPath)" SkipUnchangedFiles="true"> | ||
53 | <Output TaskParameter="CopiedFiles" ItemName="_NCrunchNativeCopied" /> | ||
54 | </Copy> | ||
55 | |||
56 | <ItemGroup> | ||
57 | <FileWrites Include="@(_NCrunchNativeCopied)" /> | ||
58 | </ItemGroup> | ||
59 | </Target> | ||
60 | |||
23 | <Target Name="SetNuspecProperties" AfterTargets="GetBuildVersion"> | 61 | <Target Name="SetNuspecProperties" AfterTargets="GetBuildVersion"> |
24 | <PropertyGroup> | 62 | <PropertyGroup> |
25 | <NuspecBasePath>$(OutputPath)</NuspecBasePath> | 63 | <NuspecBasePath>$(OutputPath)</NuspecBasePath> |
diff --git a/src/test/WixToolsetTest.Mba.Core/WixToolsetTest.Mba.Core.csproj b/src/test/WixToolsetTest.Mba.Core/WixToolsetTest.Mba.Core.csproj index 34a51a05..9d9b9c2b 100644 --- a/src/test/WixToolsetTest.Mba.Core/WixToolsetTest.Mba.Core.csproj +++ b/src/test/WixToolsetTest.Mba.Core/WixToolsetTest.Mba.Core.csproj | |||
@@ -9,11 +9,6 @@ | |||
9 | </PropertyGroup> | 9 | </PropertyGroup> |
10 | 10 | ||
11 | <ItemGroup> | 11 | <ItemGroup> |
12 | <ProjectReference Include="..\..\mbanative\mbanative.vcxproj"> | ||
13 | <Project>{665E0441-17F9-4105-B202-EDF274657F6E}</Project> | ||
14 | <OutputItemType>Content</OutputItemType> | ||
15 | <CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
16 | </ProjectReference> | ||
17 | <ProjectReference Include="..\..\WixToolset.Mba.Core\WixToolset.Mba.Core.csproj" /> | 12 | <ProjectReference Include="..\..\WixToolset.Mba.Core\WixToolset.Mba.Core.csproj" /> |
18 | </ItemGroup> | 13 | </ItemGroup> |
19 | 14 | ||