-
Notifications
You must be signed in to change notification settings - Fork 2
47 lines (38 loc) · 1003 Bytes
/
openwebif.yml
File metadata and controls
47 lines (38 loc) · 1003 Bytes
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
name: openwebif
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
ref: 'master'
- name: install prerequisites
run: |
sudo apt-get -q update
sudo apt-get install automake
sudo apt-get install git
sudo apt-get install build-essential
sudo apt-get install gettext
sudo apt-get install python2
- uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: compile python3
run: |
pip3 install Cheetah3
pip3 install six
python3 -m compileall .
cheetah compile -R plugin
- name: compile python2
run: |
python2 -m compileall .
- name: compile po files
run: |
find . -type f -name "*.po" -exec msgfmt {} -o {}.mo \;
echo done!