forked from meerk40t/meerk40t
-
Notifications
You must be signed in to change notification settings - Fork 0
86 lines (66 loc) · 1.88 KB
/
platform-check.yml
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
name: Platform configurations
on:
workflow_dispatch:
concurrency:
group: platform-configuration
cancel-in-progress: true
jobs:
check-mac:
name: ${{ matrix.os }} system_profiler
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-10.15, macos-11]
steps:
- name: Create artifacts directory
run: mkdir -p artifacts
- name: system_profiler basic
run: |
system_profiler -detailLevel basic | tee artifacts/${{ matrix.os }}_system_profile_basic.txt
- name: system_profiler full
run: |
system_profiler -detailLevel full | tee artifacts/${{ matrix.os }}_system_profile_full.txt
- name: Upload analysis results
uses: actions/upload-artifact@v4
with:
name: System-Information
path: artifacts/
check-ubuntu:
name: ${{ matrix.os }} lshw
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, ubuntu-20.04]
steps:
- name: Create artifacts directory
run: mkdir -p artifacts
- name: lshw
run: |
sudo lshw | tee artifacts/${{ matrix.os }}-lshw.txt
sudo lshw -html > artifacts/${{ matrix.os }}-lshw.html
- name: Upload analysis results
uses: actions/upload-artifact@v4
with:
name: System-Information
path: artifacts/
check-windows:
name: ${{ matrix.os }} systeminfo
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-2016, windows-2019, windows-2022]
steps:
- name: Create artifacts directory
run: mkdir -p artifacts
- name: systeminfo
run: |
systeminfo
systeminfo > artifacts/${{ matrix.os }}-systeminfo.txt
- name: Upload analysis results
uses: actions/upload-artifact@v4
with:
name: System-Information
path: artifacts/