From edde9aad5c6083f7048630fa381a9a6a21814a5c Mon Sep 17 00:00:00 2001 From: kenorb Date: Thu, 22 Aug 2024 18:15:43 +0100 Subject: [PATCH] GHA: Compile: Improves compilation for strategy and indicators --- .github/workflows/compile.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 8c64a41..b0b3731 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -68,7 +68,16 @@ jobs: - uses: actions/download-artifact@v4 with: pattern: .mt? - - name: Compile + - name: Enables input mode + run: echo '#define __input__' > config/define.h + - name: Compile indicators + uses: fx31337/mql-compile-action@master + with: + include: . + mt-path: .mt${{ matrix.version }} + path: indicators-other/**/*.mq${{ matrix.version }} + verbose: true + - name: Compile strategy uses: fx31337/mql-compile-action@master with: include: . @@ -81,6 +90,7 @@ jobs: - name: Upload artifacts uses: actions/upload-artifact@v2 with: + if-no-files-found: error name: Strategy path: '**/Stg_*.ex[45]' strategy: