diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index ee997c3c7..6e3c04d52 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -12,10 +12,28 @@ on: jobs: - Compile: + mt4: + name: Installs platform (4) + uses: EA31337/EA-Tester/.github/workflows/platform-linux.yml@dev + with: + artifact_name: mt4 + version: 4 + mt5: + name: Installs platform (5) + uses: EA31337/EA-Tester/.github/workflows/platform-linux.yml@dev + with: + artifact_name: mt5 + version: 5 + + compile: + name: Compile runs-on: windows-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + - uses: actions/download-artifact@v4 + with: + name: mt${{ matrix.version }} + path: .mt${{ matrix.version }} - name: Compile uses: fx31337/mql-compile-action@master with: @@ -24,3 +42,7 @@ jobs: - name: Print compiled files run: '(Get-ChildItem -Recurse -Path . -Include *.ex[45]).fullname' shell: powershell + + strategy: + matrix: + version: [4, 5]