Ghost / GBSA

Ghost (Ghost Build System / GBSA) is a flexible cross-compiler for Windows and Linux that runs on top of Github Actions for straightforward, unfussy and uninvolved cross-compilation! Here is a complete list of Ghost features:

Installation.

  1. Download Ghost ZIP.
  2. Unpack Ghost directory.
  3. Move Ghost/ghost-build.yml to .github/workflows/ directory in your repository.
  4. Rename ghost-build.yml to build-release.yml.
  5. Move ghost-build.py and ghost-build.xml to ghost-build directory in your repository.

Done!

Configuration.

This is what the new configuration looks like:

<?xml version="1.0" encoding="UTF-8"?>

<!-- H17I Github Actions Ghost Build System. -->
<GhostBuild Compiler="NULL" CType="NULL">
    <BuildName>NULL</BuildName>
    <CMainFile>NULL</CMainFile>
    <CFlagsWindows>NULL</CFlagsWindows>
    <CFlagsLinux>NULL</CFlagsLinux>
    <WindowsAuxiliary>NULL</WindowsAuxiliary>
    <LinuxAuxiliary>NULL</LinuxAuxiliary>
</GhostBuild>

Notes

Ghost will automatically switch to GNU compiler when compiling to Windows because there is no Clang support for Windows right now.
WindowsAuxiliary and LinuxAuxiliary files must be placed in ghost-build directory. When specifying the aux. files you don't need to put ghost-build/ before the aux. file. The .py suffix is also optional, Ghost will find the file without an extension.
Tip: If compiled EXE binary crashes with DLL missing error try appending --static to CFlagsWindows in your configuration.

How does it works?

Once Ghost detected a new release:

You can check the cross-compilation process on the repository's Github Actions page.


Github: Ghost

Markdown version of this documentation: Ghost.MD

Highway-17 Interactive Github

Highway-17 Interactive

V1.0.0.0