-
Notifications
You must be signed in to change notification settings - Fork 39
75 lines (65 loc) · 1.67 KB
/
debug-ci-win.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
name: Debug CI Windows
on:
workflow_dispatch:
workflow_call:
jobs:
build:
runs-on: ${{ matrix.os }}
timeout-minutes: 480
strategy:
fail-fast: false
matrix:
os: [windows-2019,windows-2022]
steps:
# System Info
- name: System Info
run: systeminfo
# Free Disk Space (C)
- name: Free Disk Space (C)
shell: cmd
run: |
fsutil volume diskfree c:
# Free Disk Space (D)
- name: Free Disk Space (D)
shell: cmd
run: |
fsutil volume diskfree d:
# Adjust Swap Space
- name: Adjust Swap Space
shell: cmd
run: wmic pagefileset where name="D:\\pagefile.sys" set InitialSize=8192,MaximumSize=8192
# Task List
- name: Task List
run: tasklist
# Running Service List
- name: Running Service List
shell: cmd
run: sc queryex type=service | find /i "SERVICE_NAME:"
# Free Memory
- name: Free Memory (ALL)
shell: cmd
run: |
taskkill /F /IM explorer.exe
taskkill /F /IM TSVNCache.exe
taskkill /F /IM ctfmon.exe
sc stop CertPropSvc
sc stop docker
sc stop Spooler
sc stop W3SVC
sc stop CDPSvc
sc stop UsoSvc
sc stop LanmanServer
- name: Free Memory (2019)
if: matrix.os == 'windows-2019'
shell: cmd
run: |
taskkill /F /IM SearchUI.exe
taskkill /F /IM smartscreen.exe
sc stop IpOverUsbSvc
sc stop NcbService
# Task List
- name: Task List
run: tasklist
# System Info
- name: System Info
run: systeminfo