Skip to content

Commit 60e88d1

Browse files
committed
try test
1 parent 2ca0c25 commit 60e88d1

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

.github/workflows/test-opencvsharp.yml

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,21 @@ on:
99
jobs:
1010
ubuntu-test:
1111
name: Test OpenCvSharp
12-
runs-on: ${{ matrix.os }}
12+
runs-on: ${{ matrix.runs-on }}
1313

1414
strategy:
1515
matrix:
16-
os: [ubuntu-22.04, ubuntu-24.04]
16+
include:
17+
- { os: linux, arch: x64, runs-on: ubuntu-22.04 }
18+
- { os: ubuntu.24.04, arch: x64, runs-on: ubuntu-24.04 }
19+
- { os: linux, arch: arm64, runs-on: ubuntu-22.04-arm }
20+
- { os: ubuntu.24.04, arch: arm64, runs-on: ubuntu-24.04-arm }
21+
# - { os: win, arch: x64, runs-on: windows-2022 }
22+
# - { os: win11, arch: x64, runs-on: windows-2025 }
23+
# - { os: win, arch: arm64, runs-on: windows-11-arm }
24+
- { os: osx, arch: x64, runs-on: macos-13 }
25+
- { os: osx, arch: arm64, runs-on: macos-14 }
26+
- { os: osx.15, arch: arm64, runs-on: macos-15 }
1727

1828
steps:
1929
- name: Download OpenCvSharp Artifacts
@@ -24,8 +34,11 @@ jobs:
2434
RUN_ID=$(gh run list -R ${{ github.repository }} --workflow=opencvsharp.yml --branch=${{ github.ref_name }} --status=success --limit=1 --json databaseId | jq -r '.[0].databaseId')
2535
echo "Latest opencvsharp run ID: $RUN_ID"
2636
echo "Downloading artifact 'opencvsharp' from run ${RUN_ID}"
27-
gh run download -R ${{ github.repository }} $RUN_ID --name opencvsharp-linux-x64-${{ matrix.os }} --dir opencvsharp
37+
gh run download -R ${{ github.repository }} $RUN_ID --name opencvsharp-${{ matrix.os }}-${{ matrix.arch }} --dir opencvsharp
38+
39+
echo "::group::OpenCvSharp Artifacts"
2840
ls -lR opencvsharp
41+
echo "::endgroup::"
2942
3043
- name: Create test.c
3144
run: |
@@ -52,5 +65,5 @@ jobs:
5265
- name: Upload Artifacts
5366
uses: actions/upload-artifact@v4
5467
with:
55-
name: test-linux-x64-${{ matrix.os }}
68+
name: test-${{ matrix.os }}-${{ matrix.arch }}
5669
path: test

0 commit comments

Comments
 (0)