This GitHub Action compiles MQL programs.
For full documentation, please read: GitHub Actions Documentation.
This action is only supported on Windows images.
runs-on: windows-latest
steps:
- uses: fx31337/mql-compile-action@v2
runs-on: windows-latest
steps:
- uses: fx31337/[email protected]
Note: Check Releases for more details.
runs-on: windows-latest
steps:
- uses: fx31337/mql-compile-action@master
runs-on: windows-latest
steps:
- uses: fx31337/mql-compile-action@master
with:
path: 'path/Dummy.mq5'
include: '.'
log-file: 'results.log'
ignore-warnings: true
mt-path: my/platform/path
verbose: true
Note: From v2 releases, this action doesn't install platform by default.
Path to folder or file to compile.
Default: .
(all files in the current folder are compiled).
Path to folder or file for compiler to ignore.
Default: **/*.mqh
(all .mqh files are ignored by default).
Path to search for includes files.
Default: ``.
Platform path to use. Default: .
.
Whether to ignore compilation warnings.
Specifies log filename for compilation messages.
Whether to skip generating binary file and only check for syntax issues. Default: false.
Whether to run terminal(64).exe which downloads general-purpose MQL4/5 includes, example scripts and EAs.
It is required if you want to use e.g., #include <Arrays/Array.mqh>
and so on.
Enables verbose mode (to print more messages). Default: false.
Sets working directory where to run commands. Default: ..
- For bugs/features, raise a new issue at GitHub.
- Join our Telegram group and channel for help.