@@ -143,82 +143,3 @@ jobs:
143143 - name : Script
144144 run : ruff check --output-format=github --target-version py37 --select F,E4,E7,E9,W,I,D,UP,YTT,S,BLE,B,A,COM819,C4,T10,EM,EXE,ISC,ICN,G,PIE,PYI,Q,RSE,RET,SLF,SLOT,SIM,TID,TCH,ARG,PGH,PL,TRY,PERF,FURB,LOG,RUF --preview --ignore W191,D211,D213,D401,UP004,UP008,UP009,UP010,UP024,UP030,UP032,UP036,PYI024,PLR09,PLR1702,PLR2004,S324,S404,S603,FURB101,FURB167,RUF001,RUF002,RUF003,RUF005,RUF023 .
145145 continue-on-error : true
146-
147- Linux :
148- name : PrimeNet Linux
149-
150- runs-on : ${{ matrix.os }}
151- strategy :
152- matrix :
153- os : [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04]
154- fail-fast : false
155- steps :
156- - uses : actions/checkout@v4
157- - name : Install dependencies
158- run : |
159- python3 -m pip install --upgrade pip
160- python3 -m pip install requests
161- - name : Script
162- run : |
163- set -x
164- wget -qO - https://raw.github.com/tdulcet/Linux-System-Information/master/info.sh | bash -s --
165- python3 -X dev -c 'import platform; print(platform.freedesktop_os_release())' || true
166- python3 -X dev primenet.py --help
167-
168- macOS :
169- name : PrimeNet macOS
170-
171- runs-on : ${{ matrix.os }}
172- strategy :
173- matrix :
174- os : [macos-13, macos-latest]
175- fail-fast : false
176- steps :
177- - uses : actions/checkout@v4
178- - name : Install dependencies
179- run : |
180- python3 -m pip install --upgrade pip
181- python3 -m pip install requests
182- - name : Script
183- run : |
184- set -x
185- sysctl -n machdep.cpu.brand_string
186- sysctl -n hw.physicalcpu_max hw.logicalcpu_max
187- sysctl -n hw.cpufrequency hw.cpufrequency_max hw.tbfrequency kern.clockrate
188- sysctl -n hw.memsize
189- sysctl -n hw.l1dcachesize hw.l2cachesize hw.l3cachesize
190- python3 -X dev -c 'import platform; print(platform.mac_ver())'
191- python3 -X dev primenet.py --help
192-
193- Windows :
194- name : PrimeNet Windows
195-
196- runs-on : ${{ matrix.os }}
197- strategy :
198- matrix :
199- os : [windows-2019, windows-latest]
200- fail-fast : false
201- steps :
202- - uses : actions/checkout@v4
203- - name : Install dependencies
204- run : |
205- python -m pip install --upgrade pip
206- python -m pip install requests
207- - name : Script
208- run : |
209- wmic cpu get name
210- Get-CimInstance Win32_Processor | Select Name
211- wmic cpu get NumberOfCores,NumberOfLogicalProcessors
212- Get-CimInstance Win32_Processor | Select NumberOfCores,NumberOfLogicalProcessors
213- wmic cpu get MaxClockSpeed
214- Get-CimInstance Win32_Processor | Select MaxClockSpeed
215- wmic memphysical get MaxCapacity
216- Get-CimInstance Win32_PhysicalMemoryArray | Select MaxCapacity
217- wmic ComputerSystem get TotalPhysicalMemory
218- Get-CimInstance Win32_ComputerSystem | Select TotalPhysicalMemory
219- wmic cpu get L2CacheSize,L3CacheSize
220- Get-CimInstance Win32_Processor | Select L2CacheSize,L3CacheSize
221- wmic path Win32_CacheMemory get CacheType,InstalledSize,Level
222- Get-CimInstance Win32_CacheMemory | Select CacheType,InstalledSize,Level
223- python -X dev -c "import platform; print(platform.win32_ver())"
224- python -X dev primenet.py --help
0 commit comments