[ci,abi] simplify run
This commit is contained in:
parent
8345838bcc
commit
c9f7b7d05c
112
.github/workflows/abi-checker.yml
vendored
112
.github/workflows/abi-checker.yml
vendored
@ -11,65 +11,64 @@ on:
|
|||||||
branches: [ master, stable* ]
|
branches: [ master, stable* ]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_job:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: "Test on ${{ matrix.os }}"
|
name: "Test on ${{ matrix.os }}"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
name: "Run tests"
|
- name: "Prepare environment"
|
||||||
id: abi-check
|
run: |
|
||||||
with:
|
apt-get update -q -y
|
||||||
install: |
|
apt-get install -q -y \
|
||||||
apt-get update -q -y
|
libxrandr-dev \
|
||||||
apt-get install -q -y \
|
libxinerama-dev \
|
||||||
libxrandr-dev \
|
libusb-1.0-0-dev \
|
||||||
libxinerama-dev \
|
xserver-xorg-dev \
|
||||||
libusb-1.0-0-dev \
|
libswscale-dev \
|
||||||
xserver-xorg-dev \
|
libswresample-dev \
|
||||||
libswscale-dev \
|
libavutil-dev \
|
||||||
libswresample-dev \
|
libavcodec-dev \
|
||||||
libavutil-dev \
|
libcups2-dev \
|
||||||
libavcodec-dev \
|
libpulse-dev \
|
||||||
libcups2-dev \
|
libasound2-dev \
|
||||||
libpulse-dev \
|
libpcsclite-dev \
|
||||||
libasound2-dev \
|
xsltproc \
|
||||||
libpcsclite-dev \
|
libxcb-cursor-dev \
|
||||||
xsltproc \
|
libxcursor-dev \
|
||||||
libxcb-cursor-dev \
|
libcairo2-dev \
|
||||||
libxcursor-dev \
|
libfaad-dev \
|
||||||
libcairo2-dev \
|
libjpeg-dev \
|
||||||
libfaad-dev \
|
libgsm1-dev \
|
||||||
libjpeg-dev \
|
ninja-build \
|
||||||
libgsm1-dev \
|
libxfixes-dev \
|
||||||
ninja-build \
|
libxkbcommon-dev \
|
||||||
libxfixes-dev \
|
libwayland-dev \
|
||||||
libxkbcommon-dev \
|
libpam0g-dev \
|
||||||
libwayland-dev \
|
libxdamage-dev \
|
||||||
libpam0g-dev \
|
libxcb-damage0-dev \
|
||||||
libxdamage-dev \
|
libxtst-dev \
|
||||||
libxcb-damage0-dev \
|
libfuse3-dev \
|
||||||
libxtst-dev \
|
libsystemd-dev \
|
||||||
libfuse3-dev \
|
libcairo2-dev \
|
||||||
libsystemd-dev \
|
libsoxr-dev \
|
||||||
libcairo2-dev \
|
libsdl2-dev \
|
||||||
libsoxr-dev \
|
docbook-xsl \
|
||||||
libsdl2-dev \
|
libkrb5-dev \
|
||||||
docbook-xsl \
|
libcjson-dev \
|
||||||
libkrb5-dev \
|
libpkcs11-helper1-dev \
|
||||||
libcjson-dev \
|
libsdl2-ttf-dev \
|
||||||
libpkcs11-helper1-dev \
|
libwebkit2gtk-4.0-dev \
|
||||||
libsdl2-ttf-dev \
|
libopus-dev \
|
||||||
libwebkit2gtk-4.0-dev \
|
libwebp-dev \
|
||||||
libopus-dev \
|
libpng-dev \
|
||||||
libwebp-dev \
|
libjpeg-dev \
|
||||||
libpng-dev \
|
liburiparser-dev \
|
||||||
libjpeg-dev \
|
cmake \
|
||||||
liburiparser-dev \
|
clang \
|
||||||
cmake \
|
abigail-tools \
|
||||||
clang \
|
pylint \
|
||||||
abigail-tools \
|
curl
|
||||||
pylint \
|
- name: "Prepare configuration"
|
||||||
curl
|
|
||||||
run: |
|
run: |
|
||||||
mkdir -p checker
|
mkdir -p checker
|
||||||
cp ci/cmake-preloads/config-abi.txt checker/
|
cp ci/cmake-preloads/config-abi.txt checker/
|
||||||
@ -77,4 +76,5 @@ jobs:
|
|||||||
chmod +x checker/check-abi
|
chmod +x checker/check-abi
|
||||||
echo "GITHUB_BASE_REF=$GITHUB_BASE_REF"
|
echo "GITHUB_BASE_REF=$GITHUB_BASE_REF"
|
||||||
echo "GITHUB_HEAD_REF=$GITHUB_HEAD_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)
|
||||||
|
Loading…
Reference in New Issue
Block a user