Skip to content

[update] rebase on current master #2

[update] rebase on current master

[update] rebase on current master #2

name: Debian build
on: push
jobs:
debian:
name: Debian
runs-on: ubuntu-latest
container:
image: debian:${{ matrix.distro }}
strategy:
matrix:
include:
- { distro: bookworm, CC: clang, CXX: clang++, PACKAGES: "clang" }
- { distro: bookworm, CC: clang-15, CXX: clang++-15, PACKAGES: "clang-15" }
- { distro: bookworm, CC: gcc, CXX: g++, PACKAGES: "build-essential" }
- { distro: trixie, CC: gcc, CXX: g++, PACKAGES: "build-essential" }
- { distro: trixie, CC: clang, CXX: clang++, PACKAGES: "clang" }
- { distro: trixie, CC: gcc-14, CXX: g++-14, PACKAGES: "gcc-14 g++-14" }
- { distro: trixie, CC: clang-17, CXX: clang++-17, PACKAGES: "clang-17" }
steps:
- name: Install git
run: |
apt-get update -qq
apt-get install -qq --force-yes git
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Dependencies
env:
CC: ${{ matrix.CC }}
CXX: ${{ matrix.CXX }}
PACKAGES: ${{ matrix.packages }}
run: |
./ci/${{ matrix.distro }}.deps.sh
- name: Build
env:
CC: ${{ matrix.CC }}
CXX: ${{ matrix.CXX }}
run: |
./ci/${{ matrix.distro }}.build.sh