-
-
Notifications
You must be signed in to change notification settings - Fork 82
57 lines (48 loc) · 1.44 KB
/
binaries.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: Binaries
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
container: catalinii/minisatip-build-image:latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- name: Build ARM
run: |
./configure --enable-static --host=arm-linux-gnueabihf
make
zip -9 -r /minisatip_arm.zip minisatip html
- name: Build AXE
run: |
make clean
./configure --disable-dvbapi --enable-static --host=sh4-linux --disable-dvbaes --disable-dvbca --enable-axe
make PMT=0
zip -9 -r /minisatip_axe.zip minisatip html
- name: Build MIPS
run: |
make clean
./configure --enable-static --host=mipsel-tuxbox-linux-gnu
make
zip -9 -r /minisatip_mips.zip minisatip html
- name: Bump version and push tag/create release point
uses: anothrNick/[email protected]
if: ${{ github.event_name == 'push' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
DEFAULT_BUMP: patch
id: bump_version
- name: Upload binary to release
uses: svenstaro/upload-release-action@v1-release
if: ${{ github.event_name == 'push' }}
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: /minisatip*zip
file_glob: true
tag: ${{ steps.bump_version.outputs.new_tag }}
overwrite: true