Skip to content

use -static compiler flag in Makefile #323

use -static compiler flag in Makefile

use -static compiler flag in Makefile #323

Workflow file for this run

name: Build and Release (Windows)
on:
push:
branches:
- master
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python 3
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install MinGW
run: choco install mingw -y
- name: Compile LoaderMDO
run: g++ -o LoaderMDO.exe rewritten-modern-software/LoaderMDO/LoaderMDO/LoaderMDO.cpp
- name: Compile BCD1Creator
run: g++ -o BCD1Creator.exe tools/BCD1Creator/BCD1Creator.cpp
- name: Compile DEV7Launcher
run: g++ -o DEV7Launcher.exe tools/DEV7Launcher/DEV7Launcher.cpp
- name: Compile OBJDumper
run: g++ -o OBJDumper.exe tools/OBJDumper/OBJDumper.cpp
- name: Compile ModelPathDumper
run: g++ -o ModelPathDumper.exe tools/ModelPathDumper/ModelPathDumper.cpp
- name: Compile Modern version of SYSTEM
run: g++ -o SYSTEM.EXE rewritten-modern-software/SYSTEM/SYSTEM/SYSTEM.cpp
# - name: Compile CTRKViewer
# run: g++ -o CTRKViewer.exe tools/CTRKViewer/CTRKViewer.cpp
# - name: Compile OBCViewer
# run: g++ -o OBCViewer.exe tools/OBCViewer/OBCViewer.cpp
- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: compiled-windows
path: |
LoaderMDO.exe
SYSTEM.EXE
BCD1Creator.exe
DEV7Launcher.exe
OBJDumper.exe
ModelPathDumper.exe
# OBCViewer.exe