Skip to content

Commit

Permalink
GHA: Installs platform via Ansible
Browse files Browse the repository at this point in the history
  • Loading branch information
kenorb committed Feb 5, 2024
1 parent 40e3e31 commit 06500e5
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 19 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,26 @@ on:
push:
branches:
- 'master'
- 'ci'
- '*dev*'
paths:
- '**/*.mq?'
- '.github/workflows/compile.yml'

jobs:
Compile:
runs-on: windows-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Installs platform
uses: dawidd6/action-ansible-playbook@v2
with:
playbook: platform-install.yml
directory: ./ansible
options: |
--connection local
--inventory localhost,
--verbose
requirements: galaxy-requirements.yml
- uses: fx31337/mql-compile-action@master
with:
verbose: true
4 changes: 0 additions & 4 deletions ansible/install-mt.yml

This file was deleted.

8 changes: 0 additions & 8 deletions ansible/install-wine.yml

This file was deleted.

4 changes: 0 additions & 4 deletions ansible/install-xvfb.yml

This file was deleted.

3 changes: 3 additions & 0 deletions ansible/platform-install.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
- hosts: all
roles: [ea31337.metatrader]

0 comments on commit 06500e5

Please sign in to comment.