Update links in README.md #574
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Binaries | |
on: | |
push: | |
branches: [ master, next ] | |
pull_request: | |
branches: [ master, next ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: catalinii/minisatip-build-image:latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: '0' | |
- name: Build x64 | |
run: | | |
./configure --enable-static CC="clang -static" --disable-netcv | |
make DDCI=1 | |
zip -9 -r /minisatip_x64.zip minisatip html | |
- name: Build ARM | |
run: | | |
make clean | |
./configure --disable-netcv --enable-static --host=arm-linux-gnueabihf CC="clang -target arm-linux-gnueabihf -static" | |
make | |
zip -9 -r /minisatip_arm.zip minisatip html | |
- name: Build AXE | |
run: | | |
make clean | |
./configure --enable-static --host=sh4-linux --disable-netcv --disable-dvbca --enable-axe --enable-dvbapi --enable-dvbcsa | |
make | |
zip -9 -r /minisatip_axe.zip minisatip html | |
- name: Build MIPS | |
run: | | |
make clean | |
./configure --disable-netcv --enable-static --host=mipsel-linux-gnu CC="zig cc -target mipsel-linux-gnueabihf.2.34 -static" | |
make EXTRA_CFLAGS="-I/sysroot/mipsel/include -L/sysroot/mipsel/lib" EMBEDDED=1 | |
zip -9 -r /minisatip_mips.zip minisatip html | |
- name: Archive built binaries | |
uses: actions/upload-artifact@v4 | |
with: | |
name: minisatip | |
path: | | |
/minisatip_x64.zip | |
/minisatip_arm.zip | |
/minisatip_axe.zip | |
/minisatip_mips.zip | |
- name: Bump version and push tag/create release point | |
uses: anothrNick/[email protected] | |
if: ${{ github.event_name == 'push' && github.repository_owner == 'catalinii' }} | |
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@v2 | |
if: ${{ github.event_name == 'push' && github.repository_owner == 'catalinii' }} | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
file: /minisatip*zip | |
file_glob: true | |
tag: ${{ steps.bump_version.outputs.new_tag }} | |
overwrite: true |