Skip to content

Commit

Permalink
GHA: Improves Compile workflow for performance reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Oct 4, 2023
1 parent 3317faf commit e410e66
Showing 1 changed file with 4 additions and 90 deletions.
94 changes: 4 additions & 90 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,89 +26,6 @@ jobs:
run:
shell: powershell
runs-on: windows-latest
strategy:
matrix:
name:
- AC
- AD
- ADX
- AMA
- ASI
- ATR
- ATR_MA_Trend
- Alligator
- Awesome
- BWMFI
- Bands
- BearsPower
- BullsPower
- CCI
- Chaikin
- DEMA
- DeMarker
- ElliottWave
- Envelopes
- Force
- Fractals
- Gator
- HeikenAshi
- Ichimoku
- Indicator
- MA
- MA_Breakout
- MA_Cross_Pivot
- MA_Cross_Shift
- MA_Cross_Sup_Res
- MA_Trend
- MACD
- MFI
- Meta_Bears_Bulls
- Meta_Conditions
- Meta_Delegate
- Meta_Double
- Meta_Equity
- Meta_Limit
- Meta_Margin
- Meta_Mirror
- Meta_Multi
- Meta_Oscillator
- Meta_Reversal
- Meta_RSI
- Meta_Scalper
- Meta_Timezone
- Meta_Trend
- Meta_Trio
- Meta_Volatility
- Momentum
- OBV
- OsMA
- Oscillator
- Oscillator_Divergence
- Oscillator_Multi
- Oscillator_Cross
- Oscillator_Cross_Shift
- Oscillator_Cross_Zero
- Oscillator_Overlay
- Oscillator_Range
- Oscillator_Trend
- Pattern
- Pinbar
- Pivot
- Retracement
- RSI
- RVI
- SAR
- SAWA
- SVE_Bollinger_Bands
- StdDev
- Stochastic
- SuperTrend
- TMAT_SVEBB
- TMA_CG
- TMA_True
- WPR
- ZigZag
max-parallel: 4
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -118,33 +35,30 @@ jobs:
path: Include/EA31337-classes
ref: v3.000.1
repository: EA31337/EA31337-classes
- uses: actions/checkout@v2
if: ${{ startsWith(matrix.name, 'Meta_') }}
- uses: actions/checkout@v3
with:
path: Include/EA31337-strategies
ref: v2.000-dev
repository: EA31337/EA31337-strategies
submodules: recursive
- name: Enables input mode
run: echo '#define __input__' > ./${{ matrix.name }}/config/define.h
- name: Compile for MQL4
uses: fx31337/mql-compile-action@master
with:
include: .
mt-version: 5.0.0.2361
path: ./${{ matrix.name }}/Stg_${{ matrix.name }}.mq4
path: **/Stg_*.mq4

Check failure on line 49 in .github/workflows/compile.yml

View workflow job for this annotation

GitHub Actions / Pre-commit

49:18 syntax error: expected alphabetic or numeric character, but found '*' (syntax)
verbose: true
- name: Compile for MQL5
uses: fx31337/mql-compile-action@master
with:
include: .
mt-version: 5.0.0.2515
path: ./${{ matrix.name }}/Stg_${{ matrix.name }}.mq5
path: **/Stg_*.mq5
verbose: true
- name: List compiled files
run: '(Get-ChildItem -Recurse -Path . -Include *.ex[45]).fullname'
- run: Get-Location
Compile-All:
Compile-Test:
defaults:
run:
shell: powershell
Expand Down

0 comments on commit e410e66

Please sign in to comment.