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 6c761be commit fb3da4e
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,21 +70,27 @@ jobs:
pattern: .mt?
- name: Enables input mode
run: echo '#define __input__' > config/define.h
- name: Compile
- name: Compile indicators
uses: fx31337/mql-compile-action@master
with:
include: .
mt-path: .mt${{ matrix.version }}
path: |
"**/Stg_*.mq${{ matrix.version }}"
indicators-other/**/*.mq${{ matrix.version }}
path: indicators-other/**/*.mq${{ matrix.version }}
verbose: true
- name: Compile strategy
uses: fx31337/mql-compile-action@master
with:
include: .
mt-path: .mt${{ matrix.version }}
path: "**/Stg_*.mq${{ matrix.version }}"
verbose: true
- name: List compiled files
run: '(Get-ChildItem -Recurse -Path . -Include *.ex[45]).fullname'
- run: Get-Location
- 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 fb3da4e

Please sign in to comment.