Skip to content

Build and Release (Windows CMake) #189

Build and Release (Windows CMake)

Build and Release (Windows CMake) #189

Workflow file for this run

name: Build and Release (Windows CMake)
on:
push:
branches:
- master
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Set up Python 3
uses: actions/setup-python@v6
with:
python-version: '3.x'
- name: Install PyInstaller
run: pip install pyinstaller
- name: Checkout submodules
run: git submodule update --init --recursive
- name: Configure CMake
run: cmake -B build -S . -DCMAKE_BUILD_TYPE=Release
- name: Build with CMake
run: cmake --build build --config Release
- name: Compile all Python tools
run: |
pyinstaller --onefile --distpath . tools/IMGConverter/IMGConverter.py
pyinstaller --onefile --distpath . tools/AdultCornerDecoder/decoder.py
pyinstaller --onefile --distpath . tools/AdultCornerEncoder/encoder.py
pyinstaller --onefile --distpath . tools/IMGIdentifier/IMGIdentifier.py
pyinstaller --onefile --distpath . tools/OBCEditor/OBCEditor.py
pyinstaller --onefile --distpath . analysis-tools/PetiteDetector/PetiteDetector.py
pyinstaller --onefile --distpath . analysis-tools/PKLiteDetector/PKLiteDetector.py
pyinstaller --onefile --distpath . analysis-tools/SecuROMDetector/SecuROMDetector.py
pyinstaller --onefile --distpath . tools/copyDatas/copyDatas.py
- name: Upload Artifacts
uses: actions/upload-artifact@v7
with:
name: compiled-windows-cmake
path: |
LoaderMDO.exe
SYSTEM.EXE
SYSTEM_RussianRelease.EXE
BCD1Creator.exe
DEV7Launcher.exe
OBJDumper.exe
ModelPathDumper.exe
IMGConverter.exe
decoder.exe
encoder.exe
IMGIdentifier.exe
OBCEditor.exe
PetiteDetector.exe
PKLiteDetector.exe
SecuROMDetector.exe
OBCViewer.exe
CTRKViewer.exe
PLAViewer.exe
SetupPatcher.exe
Y2K38Patcher.exe
copyDatas.exe
LOADER7VC.exe
# DEV7Monitor.exe