Skip to content

Commit

Permalink
Specify runtime on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
emlautarom1 committed Nov 15, 2024
1 parent 75cb6fe commit c593933
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-solutions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
restore-keys: |
${{ runner.os }}-nuget-${{ hashFiles('**/Directory.Packages.props') }}
- name: Build ${{ matrix.solution }}.sln
run: dotnet build src/Nethermind/${{ matrix.solution }}.sln -c ${{ matrix.config }}
run: dotnet build src/Nethermind/${{ matrix.solution }}.sln -c ${{ matrix.config }} -p:CI=true
7 changes: 7 additions & 0 deletions src/Nethermind/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
<Project>

<PropertyGroup Condition="'$(CI)' == 'true'">
<!-- Required due to an issue with transitive dependencies of Colorful.Console -->
<!-- See: https://github.com/tomakita/Colorful.Console/pull/94 -->
<NoWarn>NU1605</NoWarn>
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
</PropertyGroup>

<PropertyGroup>
<Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
<ContinuousIntegrationBuild Condition="'$(CI)' == 'true'">true</ContinuousIntegrationBuild>
Expand Down

0 comments on commit c593933

Please sign in to comment.