Skip to content

Commit 8de42b6

Browse files
committed
Only do a CI build for the main project
1 parent fa9d6c8 commit 8de42b6

File tree

4 files changed

+8
-15
lines changed

4 files changed

+8
-15
lines changed

src/Directory.Build.props

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,4 @@
1010
<LangVersion>latest</LangVersion>
1111
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1212
</PropertyGroup>
13-
14-
<PropertyGroup Condition="'$(TF_BUILD)' == 'true' Or '$(CI)' == 'true'">
15-
16-
<!-- Perform a deterministic build, so our binaries aren't impacted by build server environmental factors (e.g. file paths). -->
17-
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
18-
19-
<!-- Embed source files that are not tracked by the source control manager in the PDB -->
20-
<EmbedUntrackedSources>true</EmbedUntrackedSources>
21-
22-
<!-- Recommended: Embed symbols containing Source Link in the main file (exe/dll) -->
23-
<DebugType>embedded</DebugType>
24-
25-
</PropertyGroup>
26-
2713
</Project>

src/Tests/Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFramework>net8</TargetFramework>
55
<AssemblyName>Tests</AssemblyName>
66
<RootNamespace>DbUp.Oracle.Tests</RootNamespace>
7-
<!-- <ImplicitUsings>enable</ImplicitUsings> Can't use implict usings with net46 -->
7+
<ImplicitUsings>enable</ImplicitUsings>
88
<Nullable>enable</Nullable>
99
</PropertyGroup>
1010

src/dbup-oracle.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{77157734-01D
2323
ProjectSection(SolutionItems) = preProject
2424
.editorconfig = .editorconfig
2525
dbup-oracle.sln.DotSettings = dbup-oracle.sln.DotSettings
26+
Directory.Build.props = Directory.Build.props
2627
EndProjectSection
2728
EndProject
2829
Global

src/dbup-oracle/dbup-oracle.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@
1616
<PackageIcon>dbup-icon.png</PackageIcon>
1717
</PropertyGroup>
1818

19+
<PropertyGroup Condition="'$(CI)' == 'true'">
20+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> <!-- Perform a deterministic build, so our binaries aren't impacted by build server environmental factors (e.g. file paths). -->
21+
<EmbedUntrackedSources>true</EmbedUntrackedSources> <!-- Embed source files that are not tracked by the source control manager in the PDB -->
22+
<DebugType>embedded</DebugType> <!-- Recommended: Embed symbols containing Source Link in the main file (exe/dll) -->
23+
</PropertyGroup>
24+
1925
<ItemGroup>
2026
<PackageReference Include="dbup-core" Version="6.0.0-beta.108"/>
2127
<PackageReference Include="Oracle.ManagedDataAccess.Core" Version="23.5.0" />

0 commit comments

Comments
 (0)