Skip to content

Commit bb1b612

Browse files
committed
release: Update actions file.
1 parent 1a59ff4 commit bb1b612

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ jobs:
3737
- name: Build a new release with required UCRT64 packages.
3838
shell: msys2 {0}
3939
run: |
40-
which gcc
40+
dir

Build.cmd

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
@echo off
22
cd "%~dp0/src"
33

4+
echo Clearing binaries...
45
rd /q /s "bin"
56
md "bin"
67

8+
echo Clearing objects...
79
rd /q /s "obj"
810
md "obj"
911

12+
echo Building objects...
1013
windres.exe -i "Resources\Library.rc" -o "obj\Library.o"
11-
gcc.exe -Oz -s -Wl,--gc-sections,--exclude-all-symbols,--wrap=memcpy,--wrap=memset -static -shared -municode -nostdlib -e DllMain -DINITGUID "Library.c" "obj\Library.o" -lminhook -lkernel32 -luser32 -ldxgi -o "bin\vcruntime140_1.dll"
14+
15+
echo Building artifacts...
16+
gcc.exe -Oz -s -Wl,--gc-sections,--exclude-all-symbols,--wrap=memcpy,--wrap=memset -static -shared -municode -nostdlib -e DllMain -DINITGUID "Library.c" "obj\Library.o" -lminhook -lkernel32 -luser32 -ldxgi -o "bin\vcruntime140_1.dll"
17+
18+
echo %~dp0/src/bin/vcruntime140_1.dll

0 commit comments

Comments
 (0)