Skip to content

Commit 433bf66

Browse files
committed
ci: add test for legacy net462 on alpine with mono
1 parent c758340 commit 433bf66

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/tests.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,26 @@ jobs:
264264
mono:latest \
265265
mono test/NativeLibTestLegacy/bin/Release/net462/NativeLibTestLegacy.exe
266266
267+
platform-test-legacy-mono-linux-musl-x64:
268+
runs-on: ubuntu-latest
269+
steps:
270+
- uses: actions/checkout@v4
271+
- name: Setup .NET SDK
272+
uses: actions/setup-dotnet@v4
273+
with:
274+
dotnet-version: '10.0.x'
275+
- name: Build package and legacy test
276+
run: |
277+
dotnet pack Secp256k1.Net -c Release -o pkg -p:Version=0.0.1-localtest.1
278+
dotnet build test/NativeLibTestLegacy -c Release
279+
- name: Run Mono tests in Alpine container
280+
run: |
281+
docker run --rm --platform linux/amd64 \
282+
-v "${{ github.workspace }}:/workspace" \
283+
-w /workspace \
284+
mono:alpine \
285+
mono test/NativeLibTestLegacy/bin/Release/net462/NativeLibTestLegacy.exe
286+
267287
platform-test-legacy-mono-macos-x64:
268288
runs-on: macos-15-intel
269289
steps:

0 commit comments

Comments
 (0)