Skip to content

Commit

Permalink
Fix ABI checker build/tests
Browse files Browse the repository at this point in the history
Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
  • Loading branch information
nrspruit committed Oct 30, 2024
1 parent 8bbb3ca commit 741df4c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/check-abi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y elfutils universal-ctags
sudo apt install -y elfutils universal-ctags vtable-dumper
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Required due to the way Git works, without it this action won't be able to find any or the correct tags
Expand All @@ -39,13 +39,13 @@ jobs:
run: |
mkdir base/build
cd base/build
cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake -E env CXXFLAGS="-Og -g" cmake -DCMAKE_BUILD_TYPE=Debug ..
make -j$(nproc)
- name: Build debug head
run: |
mkdir head/build
cd head/build
cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake -E env CXXFLAGS="-Og -g" cmake -DCMAKE_BUILD_TYPE=Debug ..
make -j$(nproc)
- name: Download and setup abi-dumper
run: |
Expand All @@ -64,7 +64,7 @@ jobs:
run: |
./abi-dumper.pl \
./head/build/lib/libze_loader.so \
-lver $(cat ./head/build/VERSION) \
-lver $(cat ./head/build/VERSION)-1 \
-public-headers ./head/include \
-o ./head.dump
- name: Download and setup abi-compliance-checker
Expand All @@ -91,7 +91,7 @@ jobs:
- name: Install dependencies
run: |
sudo apt update
sudo apt install -y elfutils universal-ctags
sudo apt install -y elfutils universal-ctags vtable-dumper
- name: Checkout base
uses: actions/checkout@v3
with:
Expand All @@ -108,13 +108,13 @@ jobs:
run: |
mkdir base/build
cd base/build
cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake -E env CXXFLAGS="-Og -g" cmake -DCMAKE_BUILD_TYPE=Debug ..
make -j$(nproc)
- name: Build debug head
run: |
mkdir head/build
cd head/build
cmake -DCMAKE_BUILD_TYPE=Debug ..
cmake -E env CXXFLAGS="-Og -g" cmake -DCMAKE_BUILD_TYPE=Debug ..
make -j$(nproc)
- name: Download and setup abi-dumper
run: |
Expand All @@ -133,7 +133,7 @@ jobs:
run: |
./abi-dumper.pl \
./head/build/lib/libze_loader.so \
-lver $(cat ./head/build/VERSION) \
-lver $(cat ./head/build/VERSION)-1 \
-public-headers ./head/include \
-o ./head.dump
- name: Download and setup abi-compliance-checker
Expand Down

0 comments on commit 741df4c

Please sign in to comment.