Skip to content

Commit

Permalink
Attempt at specifying arch during unit test runs.
Browse files Browse the repository at this point in the history
  • Loading branch information
GinoCanessa committed Sep 12, 2024
1 parent 1be7a30 commit ed3f6b3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
# os: [ubuntu-latest, windows-latest, macOS-latest]
# os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
- uses: actions/checkout@v4
Expand All @@ -75,10 +75,10 @@ jobs:
enableCrossOsArchive: true

- name: Install dependencies
run: dotnet restore
run: dotnet restore -a ${{runner.arch}}

- name: Build
run: dotnet build --configuration Release --no-restore --framework net8.0
run: dotnet build --configuration Release --no-restore --framework net8.0 -a ${{runner.arch}}

- name: Test
run: dotnet test --configuration Release --no-restore --framework net8.0 --verbosity normal --filter "RequiresExternalRepo!=true"
run: dotnet test --configuration Release --no-restore --framework net8.0 --verbosity normal --filter "RequiresExternalRepo!=true" -a ${{runner.arch}}

0 comments on commit ed3f6b3

Please sign in to comment.