Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
on:
pull_request: {}
workflow_dispatch: {}

jobs:
pr-test:
runs-on: ${{ matrix.os.runs-on }}

strategy:
fail-fast: false
matrix:
os:
- runs-on: windows-latest
arch: win-x64
- runs-on: windows-11-arm
arch: win-arm64
- runs-on: macos-13
arch: osx-x64
- runs-on: macos-15
arch: osx-arm64
- runs-on: ubuntu-latest
arch: linux-x64
- runs-on: ubuntu-24.04-arm
arch: linux-arm64
Comment on lines +16 to +25
Copy link

Copilot AI Dec 2, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The windows-11-arm and ubuntu-24.04-arm runners are not generally available on GitHub-hosted runners. These are typically only available for GitHub Enterprise Cloud customers with specific licensing. If you're using standard GitHub-hosted runners, these jobs will fail. Consider either:

  1. Removing these ARM runner configurations if they're not available in your environment
  2. Using self-hosted runners for ARM architectures
  3. Verifying your organization has access to these runner types
Suggested change
- runs-on: windows-11-arm
arch: win-arm64
- runs-on: macos-13
arch: osx-x64
- runs-on: macos-15
arch: osx-arm64
- runs-on: ubuntu-latest
arch: linux-x64
- runs-on: ubuntu-24.04-arm
arch: linux-arm64
- runs-on: macos-13
arch: osx-x64
- runs-on: macos-15
arch: osx-arm64
- runs-on: ubuntu-latest
arch: linux-x64

Copilot uses AI. Check for mistakes.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're outdated. According to GitHub's announcement, arm64 Linux and Windows runners are generally available since 2024-09-03


steps:
- uses: actions/checkout@v1

- uses: actions/setup-dotnet@v4
with:
dotnet-version: |
6.0.x
8.0.x

- name: restore
run: dotnet restore

- name: test
run: dotnet test
4 changes: 2 additions & 2 deletions SciSharp.NumSharp.sln
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NumSharp.Benchmark", "test\
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NumSharp.Core", "src\NumSharp.Core\NumSharp.Core.csproj", "{190A2514-31CD-4738-AF20-3492DD47DE8C}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Examples", "Examples", "{FB0CB349-D4C7-4C09-BCC5-679F2ABEC6B4}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Examples", "examples", "{FB0CB349-D4C7-4C09-BCC5-679F2ABEC6B4}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NeuralNetwork.NumSharp", "Examples\NeuralNetwork.NumSharp\NeuralNetwork.NumSharp.csproj", "{B9253A77-0652-4091-A7F5-14E9FE2630FF}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NeuralNetwork.NumSharp", "examples\NeuralNetwork.NumSharp\NeuralNetwork.NumSharp.csproj", "{B9253A77-0652-4091-A7F5-14E9FE2630FF}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "NumSharp.Bitmap", "src\NumSharp.Bitmap\NumSharp.Bitmap.csproj", "{16C45DA5-D006-4229-B457-4F5E36D5DC55}"
EndProject
Expand Down
Loading