Skip to content

Commit 9ba0a06

Browse files
authored
wip CMake CI
1 parent b10228a commit 9ba0a06

1 file changed

Lines changed: 84 additions & 0 deletions

File tree

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
name: Build and Release (Windows CMake)
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
build:
10+
runs-on: windows-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: Set up Python 3
17+
uses: actions/setup-python@v4
18+
with:
19+
python-version: '3.x'
20+
21+
- name: Install MinGW
22+
run: choco install mingw -y
23+
24+
- name: Install PyInstaller
25+
run: pip install pyinstaller
26+
27+
- name: Compile C++ programs over CMake
28+
- run: make cmake
29+
30+
- name: Compile IMGConverter
31+
run: pyinstaller --onefile --distpath . tools/IMGConverter/IMGConverter.py
32+
33+
- name: Compile AdultCornerDecoder
34+
run: pyinstaller --onefile --distpath . tools/AdultCornerDecoder/decoder.py
35+
36+
- name: Compile AdultCornerEncoder
37+
run: pyinstaller --onefile --distpath . tools/AdultCornerEncoder/encoder.py
38+
39+
- name: Compile IMGIdentifier
40+
run: pyinstaller --onefile --distpath . tools/IMGIdentifier/IMGIdentifier.py
41+
42+
- name: Compile OBCEditor
43+
run: pyinstaller --onefile --distpath . tools/OBCEditor/OBCEditor.py
44+
45+
- name: Compile PetiteDetector
46+
run: pyinstaller --onefile --distpath . tools/PetiteDetector/PetiteDetector.py
47+
48+
- name: Compile PKLiteDetector
49+
run: pyinstaller --onefile --distpath . tools/PKLiteDetector/PKLiteDetector.py
50+
51+
- name: Compile SecuROMDetector
52+
run: pyinstaller --onefile --distpath . tools/SecuROMDetector/SecuROMDetector.py
53+
54+
- name: Compile copyDatas
55+
run: pyinstaller --onefile --distpath . tools/copyDatas/copyDatas.py
56+
57+
- name: Upload Artifacts
58+
uses: actions/upload-artifact@v4
59+
with:
60+
name: compiled-windows-cmake
61+
path: |
62+
LoaderMDO.exe
63+
SYSTEM.EXE
64+
SYSTEM_RussianRelease.EXE
65+
BCD1Creator.exe
66+
DEV7Launcher.exe
67+
OBJDumper.exe
68+
ModelPathDumper.exe
69+
IMGConverter.exe
70+
decoder.exe
71+
encoder.exe
72+
IMGIdentifier.exe
73+
OBCEditor.exe
74+
PetiteDetector.exe
75+
PKLiteDetector.exe
76+
SecuROMDetector.exe
77+
OBCViewer.exe
78+
CTRKViewer.exe
79+
PLAViewer.exe
80+
SetupPatcher.exe
81+
Y2K38Patcher.exe
82+
copyDatas.exe
83+
LOADER7VC.exe
84+
# DEV7Monitor.exe

0 commit comments

Comments
 (0)