Skip to content

Commit 5810431

Browse files
committed
remove useless action step
1 parent 6fee2a7 commit 5810431

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

.github/workflows/SKRootKernelRoot_Windows.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,7 @@ jobs:
2424
shell: cmd
2525
run: |
2626
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
27-
cl patch_kernel_root\patch_kernel_root.cpp /EHsc /Fe:patch_kernel_root /Ipatch_kernel_root /I "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.35.32215\include"
28-
- name: List files in current directory
29-
run: |
30-
ls patch_kernel_root
31-
Get-ChildItem -Path . -Filter 'patch_kernel_root.*' -File -Recurse
32-
Get-ChildItem -Path . -Filter '*.exe' -File -Recurse
27+
cl patch_kernel_root\patch_kernel_root.cpp /MTd /EHsc /Fe:patch_kernel_root /Ipatch_kernel_root /I "C:\Program Files (x86)\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.35.32215\include"
3328
- name: Upload artifacts
3429
uses: Actions/upload-artifact@main
3530
with:

patch_kernel_root/patch_kernel_root.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include <vector>
88
#include <algorithm>
99
#if defined(_WIN16) || defined(_WIN32) || defined(_WIN64)
10+
#define _CRT_SECURE_NO_WARNINGS
1011
#include "ArmAsmHelper_Windows.h"
1112
#elif defined(__linux__) || defined(__gnu_linux__)
1213
#include "ArmAsmHelper_Linux.h"
@@ -315,4 +316,4 @@ int main(int argc, char* argv[]) {
315316
free(image);
316317
system("pause");
317318
return 0;
318-
}
319+
}

0 commit comments

Comments
 (0)