Skip to content

Commit c1664e3

Browse files
committed
Fix CI workflow platform configuration
- Add -p:Platform=x64 to all dotnet commands in CI workflow - Solution is configured for x64 platform only - This fixes build and test failures in GitHub Actions
1 parent e9ee129 commit c1664e3

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ jobs:
2424
dotnet-version: ${{ matrix.dotnet-version }}
2525

2626
- name: Restore dependencies
27-
run: dotnet restore Dimension.DataFrame.Extensions.sln
27+
run: dotnet restore Dimension.DataFrame.Extensions.sln -p:Platform=x64
2828

2929
- name: Build
30-
run: dotnet build Dimension.DataFrame.Extensions.sln --configuration Release --no-restore
30+
run: dotnet build Dimension.DataFrame.Extensions.sln --configuration Release --no-restore -p:Platform=x64
3131

3232
- name: Test
33-
run: dotnet test Dimension.DataFrame.Extensions.sln --configuration Release --no-build --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./coverage
33+
run: dotnet test Dimension.DataFrame.Extensions.sln --configuration Release --no-build --verbosity normal --collect:"XPlat Code Coverage" --results-directory ./coverage -p:Platform=x64
3434

3535
- name: Code Coverage Report
3636
uses: codecov/codecov-action@v3
@@ -51,10 +51,10 @@ jobs:
5151
dotnet-version: '8.0.x'
5252

5353
- name: Restore dependencies
54-
run: dotnet restore
54+
run: dotnet restore Dimension.DataFrame.Extensions.sln -p:Platform=x64
5555

5656
- name: Build
57-
run: dotnet build --configuration Release --no-restore
57+
run: dotnet build Dimension.DataFrame.Extensions.sln --configuration Release --no-restore -p:Platform=x64
5858

5959
- name: Run dotnet format check
6060
run: dotnet format --verify-no-changes --verbosity diagnostic || true

0 commit comments

Comments
 (0)