15
15
- name : Install dependencies
16
16
run : |
17
17
sudo apt update
18
- sudo apt install -y elfutils universal-ctags
18
+ sudo apt install -y elfutils universal-ctags vtable-dumper
19
19
- uses : actions/checkout@v2
20
20
with :
21
21
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
@@ -39,19 +39,18 @@ jobs:
39
39
run : |
40
40
mkdir base/build
41
41
cd base/build
42
- cmake -DCMAKE_BUILD_TYPE=Debug ..
42
+ cmake -E env CXXFLAGS="-Og -g" cmake - DCMAKE_BUILD_TYPE=Debug ..
43
43
make -j$(nproc)
44
44
- name : Build debug head
45
45
run : |
46
46
mkdir head/build
47
47
cd head/build
48
- cmake -DCMAKE_BUILD_TYPE=Debug ..
48
+ cmake -E env CXXFLAGS="-Og -g" cmake - DCMAKE_BUILD_TYPE=Debug ..
49
49
make -j$(nproc)
50
50
- name : Download and setup abi-dumper
51
51
run : |
52
- wget https://github.com/lvc/abi-dumper/archive/refs/tags/1.2.tar.gz -O abi-dumper.tar.gz
53
- tar -xzf abi-dumper.tar.gz
54
- cp abi-dumper-*/abi-dumper.pl .
52
+ git clone https://github.com/lvc/abi-dumper.git abi-dumper
53
+ cp abi-dumper/abi-dumper.pl .
55
54
chmod +x abi-dumper.pl
56
55
- name : Generate dump for base
57
56
run : |
64
63
run : |
65
64
./abi-dumper.pl \
66
65
./head/build/lib/libze_loader.so \
67
- -lver $(cat ./head/build/VERSION) \
66
+ -lver $(cat ./head/build/VERSION)-1 \
68
67
-public-headers ./head/include \
69
68
-o ./head.dump
70
69
- name : Download and setup abi-compliance-checker
91
90
- name : Install dependencies
92
91
run : |
93
92
sudo apt update
94
- sudo apt install -y elfutils universal-ctags
93
+ sudo apt install -y elfutils universal-ctags vtable-dumper
95
94
- name : Checkout base
96
95
uses : actions/checkout@v3
97
96
with :
@@ -108,19 +107,18 @@ jobs:
108
107
run : |
109
108
mkdir base/build
110
109
cd base/build
111
- cmake -DCMAKE_BUILD_TYPE=Debug ..
110
+ cmake -E env CXXFLAGS="-Og -g" cmake - DCMAKE_BUILD_TYPE=Debug ..
112
111
make -j$(nproc)
113
112
- name : Build debug head
114
113
run : |
115
114
mkdir head/build
116
115
cd head/build
117
- cmake -DCMAKE_BUILD_TYPE=Debug ..
116
+ cmake -E env CXXFLAGS="-Og -g" cmake - DCMAKE_BUILD_TYPE=Debug ..
118
117
make -j$(nproc)
119
118
- name : Download and setup abi-dumper
120
119
run : |
121
- wget https://github.com/lvc/abi-dumper/archive/refs/tags/1.2.tar.gz -O abi-dumper.tar.gz
122
- tar -xzf abi-dumper.tar.gz
123
- cp abi-dumper-*/abi-dumper.pl .
120
+ git clone https://github.com/lvc/abi-dumper.git abi-dumper
121
+ cp abi-dumper/abi-dumper.pl .
124
122
chmod +x abi-dumper.pl
125
123
- name : Generate dump for base
126
124
run : |
@@ -133,7 +131,7 @@ jobs:
133
131
run : |
134
132
./abi-dumper.pl \
135
133
./head/build/lib/libze_loader.so \
136
- -lver $(cat ./head/build/VERSION) \
134
+ -lver $(cat ./head/build/VERSION)-1 \
137
135
-public-headers ./head/include \
138
136
-o ./head.dump
139
137
- name : Download and setup abi-compliance-checker
0 commit comments