Skip to content

Commit 89a7734

Browse files
committed
ci: Move ABI check into its own workflow
1 parent 7954737 commit 89a7734

File tree

2 files changed

+28
-24
lines changed

2 files changed

+28
-24
lines changed

.github/workflows/build-test.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: Build Test
22

33
on: [push, pull_request]
44

5-
env:
6-
LAST_ABI_BREAK: 0f33069752fe06f6daf3d977cd09665b059494d8
7-
85
jobs:
96
build-test:
107
name: Build & Test
@@ -40,24 +37,3 @@ jobs:
4037
- name: Build & Test
4138
run: podman run -t -v `pwd`:/build packagekit-${{ matrix.distro }}
4239
./tests/ci/build-and-test.sh -Dpackaging_backend=${{ matrix.backend }}
43-
44-
check-abi:
45-
name: Check ABI
46-
runs-on: ubuntu-latest
47-
48-
steps:
49-
- name: Get this version
50-
uses: actions/checkout@v4
51-
52-
- name: Get version from last ABI break
53-
uses: actions/checkout@v4
54-
with:
55-
ref: ${{ env.LAST_ABI_BREAK }}
56-
path: original-version
57-
58-
- name: Create Build Environment
59-
run: podman build -t packagekit-debian -f tests/ci/Dockerfile-debian
60-
61-
- name: Build & Test
62-
run: podman run -t -v `pwd`:/build packagekit-debian
63-
./tests/ci/check-abi.sh -Dpackaging_backend=apt

.github/workflows/check-abi.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Check ABI
2+
3+
on: [push, pull_request]
4+
5+
env:
6+
LAST_ABI_BREAK: 0f33069752fe06f6daf3d977cd09665b059494d8
7+
8+
jobs:
9+
check-abi:
10+
name: Check ABI
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Get this version
15+
uses: actions/checkout@v4
16+
17+
- name: Get version from last ABI break
18+
uses: actions/checkout@v4
19+
with:
20+
ref: ${{ env.LAST_ABI_BREAK }}
21+
path: original-version
22+
23+
- name: Create Build Environment
24+
run: podman build -t packagekit-debian -f tests/ci/Dockerfile-debian
25+
26+
- name: Build & Test
27+
run: podman run -t -v `pwd`:/build packagekit-debian
28+
./tests/ci/check-abi.sh -Dpackaging_backend=apt

0 commit comments

Comments
 (0)