Skip to content

Commit

Permalink
Use clang for arm/x86 with static binary and zig cc for mips #1107
Browse files Browse the repository at this point in the history
  • Loading branch information
Catalin Toda committed Jun 21, 2023
1 parent a9bbd6d commit 49dce72
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 1,009 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Binaries
on:
push:
branches: [ master ]
branches: [ master, next ]
pull_request:
branches: [ master ]
branches: [ master, next ]

jobs:
build:
Expand All @@ -16,29 +16,29 @@ jobs:
fetch-depth: '0'
- name: Build x64
run: |
./configure --enable-static
./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 --enable-static --host=arm-linux-gnueabihf
./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 --disable-dvbapi --enable-static --host=sh4-linux --disable-dvbaes --disable-dvbca --enable-axe
./configure --disable-netcv --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
./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"
zip -9 -r /minisatip_mips.zip minisatip html
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Install build essentials
run: |
apt-get -y update
apt-get -y install build-essential
apt-get -y install build-essential git
- name: Build all disabled
run: |
Expand All @@ -29,10 +29,13 @@ jobs:
- name: Install additional build dependencies
run: |
apt-get -y install libdvbcsa-dev libssl-dev
apt-get -y install libdvbcsa-dev libssl-dev zlig1g-dev
git clone https://github.com/vdr-projects/libnetceiver/
cd libnetceiver/ && make install
cd ..
- name: Build all enabled
run: |
make clean
./configure --enable-linuxdvb --enable-dvbca --enable-dvbcsa --enable-netcv --enable-satipc --enable-dvbapi --enable-axe
./configure --enable-linuxdvb --enable-dvbca --enable-dvbcsa --enable-netcv --enable-dvbapi --enable-axe
make
Loading

0 comments on commit 49dce72

Please sign in to comment.