Skip to content

Commit

Permalink
GHA: Test: Includes compile workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Apr 23, 2024
1 parent 1fc4f06 commit 251e4a2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 23 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@ jobs:
- name: Print compiled files
run: '(Get-ChildItem -Recurse -Path . -Include *.ex[45]).fullname'
shell: powershell
- name: Upload artifacts (MQL4)
uses: actions/upload-artifact@v2
with:
name: files-ex4
path: '**/*.ex4'
- name: Upload artifacts (MQL5)
uses: actions/upload-artifact@v2
with:
name: files-ex5
path: '**/*.ex5'

strategy:
matrix:
Expand Down
30 changes: 7 additions & 23 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,35 +20,19 @@ on:

jobs:

Compile:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Compile
uses: fx31337/mql-compile-action@master
with:
mt-version: 4.0.0.1349
verbose: true
- name: Print compiled files
run: '(Get-ChildItem -Recurse -Path . -Include *.ex[45]).fullname'
shell: powershell
- name: Upload artifacts (MQL4)
uses: actions/upload-artifact@v2
with:
name: files-ex4
path: '**/*.ex4'
- name: Upload artifacts (MQL5)
uses: actions/upload-artifact@v2
with:
name: files-ex5
path: '**/*.ex5'
compile:
name: Compile
uses: ./.github/workflows/compile.yml
with:
artifact_prefix: mt
skip_cleanup: true

Experts-MQL4:
defaults:
run:
shell: bash
working-directory: tests
needs: Compile
needs: compile
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down

0 comments on commit 251e4a2

Please sign in to comment.