-
Notifications
You must be signed in to change notification settings - Fork 838
[SYCL][CI] Add workflow to check network cards on UR_* runners #22360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: sycl
Are you sure you want to change the base?
Changes from 3 commits
4ba157f
bc860df
bb754dc
d0ae719
9d58a3b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| name: UR - Check Network Cards | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| pull_request: | ||
| paths: | ||
| - '.github/workflows/ur-check-network-cards.yml' | ||
|
|
||
| jobs: | ||
| check-network: | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| runner: [UR_L0, UR_L0_BMG, UR_CUDA, UR_OPENCL, UR_NATIVE_CPU] | ||
| runs-on: ${{ matrix.runner }} | ||
| steps: | ||
| - name: Check network card | ||
| run: | | ||
| { | ||
| echo "=== Runner: ${{ matrix.runner }} ===" | ||
| echo "" | ||
| echo "=== lspci network devices ===" | ||
| lspci | grep -i -E 'network|ethernet' || true | ||
| echo "" | ||
| echo "=== Network interfaces ===" | ||
| ip link show | ||
| echo "" | ||
| echo "=== Interface details (ethtool) ===" | ||
| for iface in $(ls /sys/class/net/ | grep -v lo); do | ||
| echo "--- $iface ---" | ||
| ethtool -i "$iface" 2>/dev/null || true | ||
| done | ||
| } 2>&1 | tee network-info.txt | ||
|
|
||
| - name: Upload partial artifact | ||
| uses: actions/upload-artifact@v4 | ||
Check failureCode scanning / zizmor unpinned action reference Error
unpinned action reference
|
||
| with: | ||
| name: network-info-${{ matrix.runner }} | ||
| path: network-info.txt | ||
Check warningCode scanning / zizmor overly broad permissions Warning
overly broad permissions
|
||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
Comment on lines
+10
to
+75
|
||
|
|
||
| merge-results: | ||
| needs: check-network | ||
| runs-on: ubuntu-latest | ||
| if: always() | ||
| steps: | ||
| - name: Download all artifacts | ||
| uses: actions/download-artifact@v4 | ||
Check failureCode scanning / zizmor unpinned action reference Error
unpinned action reference
|
||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||
| with: | ||
| pattern: network-info-* | ||
| path: results | ||
|
|
||
| - name: Combine results | ||
| run: | | ||
| for dir in results/network-info-*/; do | ||
| runner=$(basename "$dir" | sed 's/network-info-//') | ||
| echo "========================================" >> combined-network-info.txt | ||
| echo "Runner: $runner" >> combined-network-info.txt | ||
| echo "========================================" >> combined-network-info.txt | ||
| cat "$dir/network-info.txt" >> combined-network-info.txt | ||
| echo "" >> combined-network-info.txt | ||
| done | ||
|
|
||
| - name: Upload combined artifact | ||
| uses: actions/upload-artifact@v4 | ||
Check failureCode scanning / zizmor unpinned action reference Error
unpinned action reference
|
||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||
| with: | ||
| name: network-info-all-runners | ||
| path: combined-network-info.txt | ||
Uh oh!
There was an error while loading. Please reload this page.