forked from openatv/MetrixHD
-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (46 loc) · 1.19 KB
/
MetrixHD.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: MetrixHD
on:
push:
branches: [ master, dev ]
pull_request:
branches: [ master, dev ]
jobs:
build:
name: Build oe-alliance plugins
runs-on: ubuntu-latest
steps:
- name: Install prerequisites
run: |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get -q update
sudo apt-get install automake
sudo apt-get install build-essential
sudo apt-get install gettext
- uses: actions/checkout@v2
with:
ref: 'master'
- uses: actions/setup-python@v2
with:
python-version: '2.7'
- name: Build, python 2.7
run: |
python -m compileall .
- uses: actions/checkout@v2
with:
ref: 'dev'
- uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Build, python 3.8
run: |
python -m compileall .
- uses: actions/checkout@v2
with:
ref: 'dev'
- uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: Build, python 3.9
run: |
sudo apt-get install python3.9-dev
python -m compileall .