diff --git a/.github/workflows/backtest.yml b/.github/workflows/backtest.yml index 4439349..e979aaa 100644 --- a/.github/workflows/backtest.yml +++ b/.github/workflows/backtest.yml @@ -12,42 +12,18 @@ on: jobs: - Compile: - runs-on: windows-latest - steps: - - uses: actions/checkout@v2 - with: - submodules: recursive - - name: List MQL files - run: '(Get-ChildItem -Recurse -Path . -Include *.mq[45]).fullname' - shell: powershell - - name: Compiles EA (MQL4) - uses: fx31337/mql-compile-action@master - with: - path: src\EA31337-Libre.mq4 - verbose: true - - - name: Compiles EA (MQL5) - uses: fx31337/mql-compile-action@master - with: - path: src\EA31337-Libre.mq5 - verbose: true - - name: List compiled files - run: '(Get-ChildItem -Recurse -Path . -Include *.ex[45]).fullname' - - - name: Upload artifacts - uses: actions/upload-artifact@v2 - with: - name: EA - path: 'src/*.ex?' + compile: + name: Compile + uses: .github/workflows/compile.yml@dev-v3000 - Backtest: + backtest: defaults: run: shell: bash - needs: Compile + name: Backtest + needs: compile runs-on: ubuntu-latest strategy: