Building Euphoria with GitHub Actions

new topic     » topic index » view thread      » older message » newer message

Good news! I'm making progress on setting up automatic builds with GitHub Actions.

So far I have it building for Linux and Windows and x86 (32-bit) and x86-64 (64-bit).

Here are the current steps in the workflow:

  1. Checkout Repository - clones the master branch from GitHub
  2. Install Compilers (Linux x86) - installs i686-linux-gnu cross-compiler
  3. Install Compilers (Windows x86) - installs mingw-w64-i686 cross-compiler
  4. Install Compilers (Windows x64) - installs mingw-w64-x86-64 cross-compiler
  5. Install Euphoria - downloads and extracts current Euphoria 4.1 from GitHub
  6. Run Configure - runs ./configure for the specified arch and platform
  7. Build Euphoria - runs make all and make htmldoc (I'm having trouble with pdfdoc and LaTeX)
  8. Get Short Hash - gets the current short hash for the current branch (e.g. 89c9a17)
  9. Upload Artifacts - uploads the build directory contents as artifacts

New builds will get kicked off on push or pull request. When the workflow is done, the artifacts can be downloaded at the bottom of the page.

Here's an example workflow: https://github.com/OpenEuphoria/euphoria/actions/runs/1567985941 (currently in progress as of this writing)

A full run currently takes under 15 minutes. I will work on better parallelization to get that down. The Makefile is a hot mess and actually repeats itself a few times.

-Greg

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu