[ci,abi] simplify run
This commit is contained in:
parent
8345838bcc
commit
c9f7b7d05c
12
.github/workflows/abi-checker.yml
vendored
12
.github/workflows/abi-checker.yml
vendored
@ -11,15 +11,13 @@ 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: |
|
||||
- name: "Prepare environment"
|
||||
run: |
|
||||
apt-get update -q -y
|
||||
apt-get install -q -y \
|
||||
libxrandr-dev \
|
||||
@ -70,6 +68,7 @@ jobs:
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user