Skip to content

Commit

Permalink
GHA: Compile: Improves compilation for strategy and indicators
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Aug 22, 2024
1 parent 2797a0c commit edde9aa
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: .
Expand All @@ -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:
Expand Down

0 comments on commit edde9aa

Please sign in to comment.