[trunk] Sync with 11725 #23
Workflow file for this run
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: 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! |