-
Notifications
You must be signed in to change notification settings - Fork 7
103 lines (82 loc) · 2.26 KB
/
test-runner.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
name: Check runner
on:
workflow_dispatch:
pull_request:
push:
jobs:
check-runners-host:
timeout-minutes: 10
strategy:
matrix:
build: [
{runs-on: ubuntu-latest},
{runs-on: e150},
{runs-on: e300},
{runs-on: e75},
{runs-on: n150},
{runs-on: n300},
]
name: Check runner
runs-on: ${{ matrix.build.runs-on }}
steps:
- uses: actions/checkout@v4
- name: Print machine info
run: |
# Print machine name
echo "Machine Name: $(hostname)"
# Print OS information
echo "Operating System: $(lsb_release -d | cut -f2-)"
echo "Kernel Version: $(uname -r)"
echo "Architecture: $(uname -m)"
# Print current user
echo "Current User: $(whoami)"
# Print CPU information
echo "CPU Information:"
lscpu | grep 'Model name'
lscpu | grep 'Architecture'
# Print Memory information
echo "Memory Information:"
free -h
# Print Disk usage
echo "Disk Usage:"
df -h
check-runners-docker:
timeout-minutes: 10
strategy:
matrix:
build: [
{runs-on: ubuntu-latest},
{runs-on: e150},
{runs-on: e300},
{runs-on: e75},
{runs-on: n150},
{runs-on: n300},
]
name: Check runner docker
needs: check-runners-host
runs-on: ${{ matrix.build.runs-on }}
container:
image: ghcr.io/tenstorrent/tt-mlir/tt-mlir-base-ubuntu-22-04:latest
options: --user root
steps:
- uses: actions/checkout@v4
- name: Print machine info
run: |
# Print machine name
echo "Machine Name: $(hostname)"
# Print OS information
echo "Operating System: $(lsb_release -d | cut -f2-)"
echo "Kernel Version: $(uname -r)"
echo "Architecture: $(uname -m)"
# Print current user
echo "Current User: $(whoami)"
# Print CPU information
echo "CPU Information:"
lscpu | grep 'Model name'
lscpu | grep 'Architecture'
# Print Memory information
echo "Memory Information:"
free -h
# Print Disk usage
echo "Disk Usage:"
df -h