Move ABI check to Github actions

This commit is contained in:
Mario Limonciello 2020-11-16 15:41:42 -06:00 committed by Mario Limonciello
parent 0073dd0570
commit 0b64457256
3 changed files with 12 additions and 15 deletions

View File

@ -1,17 +1,5 @@
version: 2
jobs:
check-abi:
machine:
image: circleci/classic:latest
steps:
- checkout
- run:
name: "Build container"
command: OS=debian-x86_64 ./contrib/ci/generate_docker.py
- run:
name: "Run build script"
command: docker run -t -v `pwd`:/build fwupd-debian-x86_64 ./contrib/ci/check-abi $(git describe --abbrev=0 --tags) $(git rev-parse HEAD)
build-ubuntu-x86_64:
machine:
image: circleci/classic:latest
@ -175,7 +163,6 @@ workflows:
- build-windows
- build-ubuntu-x86_64
- build-snap
- check-abi
- build-chromeos-x86_64
- publish-edge:
requires:

View File

@ -10,8 +10,18 @@ on:
pull_request:
branches: [ master ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
abi:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install dependencies
run: ./contrib/ci/generate_dependencies.py | sudo xargs apt install -y
- name: Check ABI
run: ./contrib/ci/check-abi $(git describe --abbrev=0 --tags) $(git rev-parse HEAD)
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on

View File

@ -6,7 +6,7 @@
</distro>
</dependency>
<dependency type="build" id="abigail-tools">
<distro id="debian">
<distro id="ubuntu">
<package variant="x86_64" />
</distro>
</dependency>