Skip to content

[trunk] Sync with 11725 #23

[trunk] Sync with 11725

[trunk] Sync with 11725 #23

Workflow file for this run

name: oscam smod
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build oscam
runs-on: ubuntu-latest
strategy:
matrix:
gcc: [9, 10, 11, 12]
steps:
- name: Install prerequisites
run: |
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get -q update
sudo apt-get install g++-${{ matrix.gcc }}
- uses: actions/checkout@v2
with:
ref: 'master'
- name: Build oscam
env:
CC: "gcc-${{ matrix.gcc }}"
CXX: "g++-${{ matrix.gcc }}"
run: |
echo "compiling oscam"
sed -i 's/#if defined(WITH_SOFTCAM) && !defined(__APPLE__) && !defined(__ANDROID__)/#if defined(WITH_SOFTCAM_PATCH)/g' module-emulator-osemu.c
./config.sh -E all
make
echo done!