Skip to content

Commit

Permalink
Build .slnf in integration test build step
Browse files Browse the repository at this point in the history
  • Loading branch information
erikbra committed May 12, 2024
1 parent 4df1d62 commit 69196ca
Show file tree
Hide file tree
Showing 21 changed files with 39 additions and 57 deletions.
36 changes: 19 additions & 17 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,23 +180,25 @@ jobs:

- name: Build Test DLLs ${{ matrix.arch }}
run: |
dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/CommandLine/CommandLine.MariaDB -o ./integration-tests/${{ matrix.arch }}
dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/CommandLine/CommandLine.SqlServer -o ./integration-tests/${{ matrix.arch }}
dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/CommandLine/CommandLine.Oracle -o ./integration-tests/${{ matrix.arch }}
dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/CommandLine/CommandLine.PostgreSQL -o ./integration-tests/${{ matrix.arch }}
dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/CommandLine/CommandLine.Sqlite -o ./integration-tests/${{ matrix.arch }}
dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/Docker/Docker.MariaDB -o ./integration-tests/${{ matrix.arch }}
dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/Docker/Docker.SqlServer -o ./integration-tests/${{ matrix.arch }}
dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/Docker/Docker.Oracle -o ./integration-tests/${{ matrix.arch }}
dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/Docker/Docker.PostgreSQL -o ./integration-tests/${{ matrix.arch }}
dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/Docker/Docker.Sqlite -o ./integration-tests/${{ matrix.arch }}
dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/MariaDB -o ./integration-tests/${{ matrix.arch }}
dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/SqlServer -o ./integration-tests/${{ matrix.arch }}
dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/Oracle -o ./integration-tests/${{ matrix.arch }}
dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/PostgreSQL -o ./integration-tests/${{ matrix.arch }}
dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/Sqlite -o ./integration-tests/${{ matrix.arch }}
# dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/CommandLine/CommandLine.MariaDB -o ./integration-tests/${{ matrix.arch }}
# dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/CommandLine/CommandLine.SqlServer -o ./integration-tests/${{ matrix.arch }}
# dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/CommandLine/CommandLine.Oracle -o ./integration-tests/${{ matrix.arch }}
# dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/CommandLine/CommandLine.PostgreSQL -o ./integration-tests/${{ matrix.arch }}
# dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/CommandLine/CommandLine.Sqlite -o ./integration-tests/${{ matrix.arch }}
# dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/Docker/Docker.MariaDB -o ./integration-tests/${{ matrix.arch }}
# dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/Docker/Docker.SqlServer -o ./integration-tests/${{ matrix.arch }}
# dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/Docker/Docker.Oracle -o ./integration-tests/${{ matrix.arch }}
# dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/Docker/Docker.PostgreSQL -o ./integration-tests/${{ matrix.arch }}
# dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/Docker/Docker.Sqlite -o ./integration-tests/${{ matrix.arch }}
# dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/MariaDB -o ./integration-tests/${{ matrix.arch }}
# dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/SqlServer -o ./integration-tests/${{ matrix.arch }}
# dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/Oracle -o ./integration-tests/${{ matrix.arch }}
# dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/PostgreSQL -o ./integration-tests/${{ matrix.arch }}
# dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/Sqlite -o ./integration-tests/${{ matrix.arch }}
dotnet publish -f net8.0 -r ${{ matrix.arch }} -c release ./unittests/UnitTests.slnf -o ./integration-tests/${{ matrix.arch }}
env:
VERSION: ${{ needs.set-version-number.outputs.nuGetVersion }}
Expand Down
3 changes: 1 addition & 2 deletions unittests/Basic_tests/Basic_tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<IsPackable>false</IsPackable>
<IsPublishable>true</IsPublishable>
<IsTestProject>true</IsTestProject>
<UseAppHost>true</UseAppHost>


<RootNamespace>Basic_tests</RootNamespace>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
<IsPackable>false</IsPackable>
<IsTestProject>false</IsTestProject>
<NoWarn>IL2091;IL2026</NoWarn>
<UseAppHost>true</UseAppHost>


<XunitStartupFullName>CommandLine.Common.Startup</XunitStartupFullName>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<IsPublishable>true</IsPublishable>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<UseAppHost>true</UseAppHost>


</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<IsPublishable>true</IsPublishable>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<UseAppHost>true</UseAppHost>


</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<IsPublishable>true</IsPublishable>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<UseAppHost>true</UseAppHost>


</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<IsPublishable>true</IsPublishable>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<UseAppHost>true</UseAppHost>


</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<IsPublishable>true</IsPublishable>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<UseAppHost>true</UseAppHost>


</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions unittests/Docker/Docker.Common/Docker.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
<IsPackable>false</IsPackable>
<IsTestProject>false</IsTestProject>
<NoWarn>IL2091;IL2026</NoWarn>
<UseAppHost>true</UseAppHost>


<XunitStartupFullName>Docker.Common.Startup</XunitStartupFullName>
</PropertyGroup>

Expand Down
3 changes: 1 addition & 2 deletions unittests/Docker/Docker.MariaDB/Docker.MariaDB.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<IsPublishable>true</IsPublishable>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<UseAppHost>true</UseAppHost>


</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions unittests/Docker/Docker.Oracle/Docker.Oracle.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<IsPublishable>true</IsPublishable>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<UseAppHost>true</UseAppHost>


</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions unittests/Docker/Docker.PostgreSQL/Docker.PostgreSQL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<IsPublishable>true</IsPublishable>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<UseAppHost>true</UseAppHost>


</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions unittests/Docker/Docker.SqlServer/Docker.SqlServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<IsPublishable>true</IsPublishable>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<UseAppHost>true</UseAppHost>


</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions unittests/Docker/Docker.Sqlite/Docker.Sqlite.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<IsPublishable>true</IsPublishable>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<UseAppHost>true</UseAppHost>


</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions unittests/MariaDB/MariaDB.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<IsTestProject>true</IsTestProject>
<IsPackable>false</IsPackable>
<IsPublishable>true</IsPublishable>
<UseAppHost>true</UseAppHost>


</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions unittests/Oracle/Oracle.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<IsTestProject>true</IsTestProject>
<IsPublishable>true</IsPublishable>
<IsPackable>false</IsPackable>
<UseAppHost>true</UseAppHost>


</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions unittests/PostgreSQL/PostgreSQL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<IsTestProject>true</IsTestProject>
<IsPublishable>true</IsPublishable>
<IsPackable>false</IsPackable>
<UseAppHost>true</UseAppHost>


</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions unittests/SqlServer/SqlServer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<IsTestProject>true</IsTestProject>
<IsPublishable>true</IsPublishable>
<IsPackable>false</IsPackable>
<UseAppHost>true</UseAppHost>


</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<IsTestProject>true</IsTestProject>
<IsPublishable>true</IsPublishable>
<IsPackable>false</IsPackable>
<UseAppHost>true</UseAppHost>


</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions unittests/Sqlite/Sqlite.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
<IsTestProject>true</IsTestProject>
<IsPublishable>true</IsPublishable>
<IsPackable>false</IsPackable>
<UseAppHost>true</UseAppHost>


</PropertyGroup>

<ItemGroup>
Expand Down
3 changes: 1 addition & 2 deletions unittests/TestCommon/TestCommon.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
<IsPackable>false</IsPackable>
<IsPublishable>true</IsPublishable>
<IsTestProject>false</IsTestProject>
<UseAppHost>true</UseAppHost>
<NoWarn>IL2072;IL2075;IL2026</NoWarn>
<NoWarn>IL2072;IL2075;IL2026</NoWarn>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 69196ca

Please sign in to comment.