Build and Release (Linux Debug) #183
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build and Release (Linux Debug) | |
| on: | |
| push: | |
| branches: | |
| - master | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-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 required libs | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y g++ make build-essential cmake libarchive-dev python3 genisoimage python3-pip | |
| - name: Install PyInstaller | |
| run: pip install pyinstaller | |
| - name: Checkout submodules | |
| run: git submodule update --init --recursive | |
| - name: Run configure | |
| run: ./configure | |
| - name: Compile all C++ programs (Debug) | |
| run: make debug | |
| - 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-linux-debug | |
| path: | | |
| binaries/LoaderMDO/LoaderMDO | |
| binaries/BCD1Creator/BCD1Creator | |
| binaries/DEV7Launcher/DEV7Launcher | |
| binaries/ModelPathDumper/ModelPathDumper | |
| binaries/OBJDumper/OBJDumper | |
| binaries/OBCViewer/OBCViewer | |
| binaries/CTRKViewer/CTRKViewer | |
| binaries/PLAViewer/PLAViewer | |
| IMGConverter | |
| AdultCornerDecoder | |
| AdultCornerEncoder | |
| IMGIdentifier | |
| OBCEditor | |
| PetiteDetector | |
| PKLiteDetector | |
| SecuROMDetector | |
| copyDatas |