From 2f4831dff8b5dfcb0029920d317b2cd64ecde70b Mon Sep 17 00:00:00 2001 From: kenorb Date: Sun, 18 Feb 2024 22:43:07 +0000 Subject: [PATCH] GHA: Fixes compilation workflows --- .github/workflows/compile.yml | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index ee997c3c7..f22933b37 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -12,10 +12,29 @@ 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 + needs: [mt4, mt5] 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 +43,7 @@ jobs: - name: Print compiled files run: '(Get-ChildItem -Recurse -Path . -Include *.ex[45]).fullname' shell: powershell + + strategy: + matrix: + version: [4, 5]