mirror of https://github.com/UMSKT/xpmgr.git
Update windows.yml
This commit is contained in:
parent
16b78eabb7
commit
64e4651915
|
@ -30,24 +30,19 @@ jobs:
|
||||||
mkdir build\x86
|
mkdir build\x86
|
||||||
mkdir build\x64
|
mkdir build\x64
|
||||||
|
|
||||||
- name: Build xpmgr (x86)
|
- name: Build xpmgr
|
||||||
run: |
|
run: |
|
||||||
windres icon.rc -O coff -F pe-i386 -o build\x86\icon_x86.res -v
|
cmake -S . -B build -G "MinGW Makefiles" -DCMAKE_CXX_COMPILER=C:/TDM-GCC-64/bin/g++.exe
|
||||||
C:\TDM-GCC-64\bin\g++.exe -m32 -o build\x86\xpmgr_x86 xpmgr.cpp build\x86\icon_x86.res -lole32 -luuid -loleaut32 -v
|
cmake --build build --config Debug
|
||||||
|
|
||||||
- name: Build xpmgr (x64)
|
|
||||||
run: |
|
|
||||||
windres icon.rc -O coff -o build\x64\icon_x64.res -v
|
|
||||||
C:\TDM-GCC-64\bin\g++.exe -o build\x64\xpmgr_x64 xpmgr.cpp build\x64\icon_x64.res -lole32 -luuid -loleaut32 -v
|
|
||||||
|
|
||||||
- name: Upload build artifact (x86)
|
- name: Upload build artifact (x86)
|
||||||
uses: actions/upload-artifact@v3.1.2
|
uses: actions/upload-artifact@v3.1.2
|
||||||
with:
|
with:
|
||||||
name: xpmgr (x86)
|
name: xpmgr (x86)
|
||||||
path: .\build\x86
|
path: .\build\xpmgr_x86.exe
|
||||||
|
|
||||||
- name: Upload build artifact (x64)
|
- name: Upload build artifact (x64)
|
||||||
uses: actions/upload-artifact@v3.1.2
|
uses: actions/upload-artifact@v3.1.2
|
||||||
with:
|
with:
|
||||||
name: xpmgr (x64)
|
name: xpmgr (x64)
|
||||||
path: .\build\x64
|
path: .\build\xpmgr_x64.exe
|
||||||
|
|
Loading…
Reference in New Issue