Skip to content

Commit be8370f

Browse files
committed
Update dotnet 32bit test
1 parent 8ab89c2 commit be8370f

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

.github/workflows/publish.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,22 +74,19 @@ jobs:
7474
- runner: windows-latest
7575
target: x86_64-pc-windows-msvc
7676
rid: win-x64
77-
arch: x64
7877
lib_name: braillify_native.dll
7978
- runner: windows-latest
8079
target: i686-pc-windows-msvc
8180
rid: win-x86
82-
arch: x86
8381
lib_name: braillify_native.dll
82+
arch_flag: -a x86
8483
- runner: ubuntu-latest
8584
target: x86_64-unknown-linux-gnu
8685
rid: linux-x64
87-
arch: x64
8886
lib_name: libbraillify_native.so
8987
- runner: macos-14
9088
target: aarch64-apple-darwin
9189
rid: osx-arm64
92-
arch: arm64
9390
lib_name: libbraillify_native.dylib
9491
steps:
9592
- uses: actions/checkout@v5
@@ -117,19 +114,19 @@ jobs:
117114
shell: bash
118115

119116
- name: Restore dependencies
120-
run: dotnet restore Braillify.Tests/Braillify.Tests.csproj
117+
run: dotnet restore ${{ matrix.arch_flag }} Braillify.Tests/Braillify.Tests.csproj
121118
working-directory: packages/dotnet
122119

123120
- name: Build
124-
run: dotnet build --no-restore -c Release -a ${{ matrix.arch }} Braillify.Tests/Braillify.Tests.csproj
121+
run: dotnet build --no-restore -c Release ${{ matrix.arch_flag }} Braillify.Tests/Braillify.Tests.csproj
125122
working-directory: packages/dotnet
126123

127124
- name: Test (.NET 8.0)
128-
run: dotnet test --no-build -c Release --verbosity normal --framework net8.0 -a ${{ matrix.arch }} Braillify.Tests/Braillify.Tests.csproj
125+
run: dotnet test --no-build -c Release --verbosity normal --framework net8.0 ${{ matrix.arch_flag }} Braillify.Tests/Braillify.Tests.csproj
129126
working-directory: packages/dotnet
130127

131128
- name: Test (.NET 9.0)
132-
run: dotnet test --no-build -c Release --verbosity normal --framework net9.0 -a ${{ matrix.arch }} Braillify.Tests/Braillify.Tests.csproj
129+
run: dotnet test --no-build -c Release --verbosity normal --framework net9.0 ${{ matrix.arch_flag }} Braillify.Tests/Braillify.Tests.csproj
133130
working-directory: packages/dotnet
134131

135132
deploy-landing:

0 commit comments

Comments
 (0)