[ci,abi] simplify run

This commit is contained in:
akallabeth 2024-02-26 14:23:50 +01:00 committed by akallabeth
parent 8345838bcc
commit c9f7b7d05c

View File

@ -11,65 +11,64 @@ on:
branches: [ master, stable* ]
jobs:
build_job:
build:
runs-on: ubuntu-latest
name: "Test on ${{ matrix.os }}"
steps:
- uses: actions/checkout@v4
name: "Run tests"
id: abi-check
with:
install: |
apt-get update -q -y
apt-get install -q -y \
libxrandr-dev \
libxinerama-dev \
libusb-1.0-0-dev \
xserver-xorg-dev \
libswscale-dev \
libswresample-dev \
libavutil-dev \
libavcodec-dev \
libcups2-dev \
libpulse-dev \
libasound2-dev \
libpcsclite-dev \
xsltproc \
libxcb-cursor-dev \
libxcursor-dev \
libcairo2-dev \
libfaad-dev \
libjpeg-dev \
libgsm1-dev \
ninja-build \
libxfixes-dev \
libxkbcommon-dev \
libwayland-dev \
libpam0g-dev \
libxdamage-dev \
libxcb-damage0-dev \
libxtst-dev \
libfuse3-dev \
libsystemd-dev \
libcairo2-dev \
libsoxr-dev \
libsdl2-dev \
docbook-xsl \
libkrb5-dev \
libcjson-dev \
libpkcs11-helper1-dev \
libsdl2-ttf-dev \
libwebkit2gtk-4.0-dev \
libopus-dev \
libwebp-dev \
libpng-dev \
libjpeg-dev \
liburiparser-dev \
cmake \
clang \
abigail-tools \
pylint \
curl
- name: "Prepare environment"
run: |
apt-get update -q -y
apt-get install -q -y \
libxrandr-dev \
libxinerama-dev \
libusb-1.0-0-dev \
xserver-xorg-dev \
libswscale-dev \
libswresample-dev \
libavutil-dev \
libavcodec-dev \
libcups2-dev \
libpulse-dev \
libasound2-dev \
libpcsclite-dev \
xsltproc \
libxcb-cursor-dev \
libxcursor-dev \
libcairo2-dev \
libfaad-dev \
libjpeg-dev \
libgsm1-dev \
ninja-build \
libxfixes-dev \
libxkbcommon-dev \
libwayland-dev \
libpam0g-dev \
libxdamage-dev \
libxcb-damage0-dev \
libxtst-dev \
libfuse3-dev \
libsystemd-dev \
libcairo2-dev \
libsoxr-dev \
libsdl2-dev \
docbook-xsl \
libkrb5-dev \
libcjson-dev \
libpkcs11-helper1-dev \
libsdl2-ttf-dev \
libwebkit2gtk-4.0-dev \
libopus-dev \
libwebp-dev \
libpng-dev \
libjpeg-dev \
liburiparser-dev \
cmake \
clang \
abigail-tools \
pylint \
curl
- name: "Prepare configuration"
run: |
mkdir -p checker
cp ci/cmake-preloads/config-abi.txt checker/
@ -77,4 +76,5 @@ jobs:
chmod +x checker/check-abi
echo "GITHUB_BASE_REF=$GITHUB_BASE_REF"
echo "GITHUB_HEAD_REF=$GITHUB_HEAD_REF"
./checker/check-abi --parameters="-Cchecker/config-abi.txt" $GITHUB_BASE_REF $(git rev-parse HEAD)
- name: "Run ABI check..."
run: ./checker/check-abi --parameters="-Cchecker/config-abi.txt" $GITHUB_BASE_REF $(git rev-parse HEAD)