Add renovate.json #682
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: Build on Linux | |
on: | |
push: | |
branches-ignore: | |
- dependabot/** | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-18.04, ubuntu-20.04] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: 'recursive' | |
fetch-depth: 0 | |
- name: Install dependencies | |
shell: bash | |
run: | | |
# Workaround: gcc >= 8.0 is required. | |
case $(lsb_release -cs) in | |
bionic) | |
sudo apt install -y --no-install-recommends \ | |
gcc-8 g++-8 yasm nasm python3-venv python3-pip python3-setuptools ;; | |
*) | |
sudo apt install -y --no-install-recommends \ | |
gcc g++ yasm nasm python3-venv python3-pip python3-setuptools ;; | |
esac | |
sudo apt install -y gcc-8 g++-8 yasm python3-venv python3-pip python3-setuptools | |
python3 -m venv venv | |
source venv/bin/activate | |
pip3 install wheel | |
pip3 install meson | |
pip3 install ninja | |
- name: configure | |
shell: bash | |
run: | | |
source venv/bin/activate | |
# Workaround: gcc >= 8.0 is required. | |
case $(lsb_release -cs) in | |
bionic) | |
export CC=gcc-8 | |
export CXX=g++-8 | |
;; | |
*) ;; | |
esac | |
bash scripts/reset-submodules.sh | |
bash scripts/apply-patches.sh | |
bash scripts/build-deps.sh | |
cmake -S . -B build -G Ninja | |
- name: Build | |
shell: bash | |
run: | | |
source venv/bin/activate | |
env --chdir build ninja |