Harden mesa package for Ubuntu and Debian targets
This commit is contained in:
@@ -12,14 +12,13 @@ jobs:
|
||||
build-deb:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: debian:trixie
|
||||
image: ubuntu:24.04
|
||||
steps:
|
||||
- name: Install build dependencies
|
||||
run: |
|
||||
apt-get update
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||
build-essential \
|
||||
bindgen \
|
||||
ca-certificates \
|
||||
cbindgen \
|
||||
cmake \
|
||||
@@ -31,12 +30,11 @@ jobs:
|
||||
meson \
|
||||
ninja-build \
|
||||
pkg-config \
|
||||
cargo \
|
||||
python3 \
|
||||
python3-pip \
|
||||
python3-mako \
|
||||
python3-ply \
|
||||
python3-yaml \
|
||||
rustc \
|
||||
bison \
|
||||
flex \
|
||||
gettext \
|
||||
@@ -45,6 +43,7 @@ jobs:
|
||||
libelf-dev \
|
||||
libexpat1-dev \
|
||||
libgbm-dev \
|
||||
libclang-19-dev \
|
||||
libglvnd-dev \
|
||||
libgles2-mesa-dev \
|
||||
libclc-19 \
|
||||
@@ -76,10 +75,14 @@ jobs:
|
||||
libxshmfence-dev \
|
||||
libxxf86vm-dev \
|
||||
libzstd-dev \
|
||||
llvm-dev \
|
||||
llvm-19-dev \
|
||||
wayland-protocols \
|
||||
xz-utils \
|
||||
zlib1g-dev
|
||||
python3 -m pip install --break-system-packages 'meson>=1.4.0,<2'
|
||||
curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal --default-toolchain 1.85.0
|
||||
. /root/.cargo/env
|
||||
cargo install --locked bindgen-cli --version 0.71.1
|
||||
- name: Checkout repository
|
||||
run: |
|
||||
git init .
|
||||
@@ -91,6 +94,7 @@ jobs:
|
||||
env:
|
||||
MESA_UPSTREAM_REF: main
|
||||
run: |
|
||||
. /root/.cargo/env
|
||||
chmod +x scripts/build-mesa-opt.sh
|
||||
./scripts/build-mesa-opt.sh
|
||||
- name: Generate release notes
|
||||
|
||||
Reference in New Issue
Block a user