mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-24 15:26:40 +00:00
Move ABI check to Github actions
This commit is contained in:
parent
0073dd0570
commit
0b64457256
@ -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:
|
||||
|
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
@ -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
|
||||
|
@ -6,7 +6,7 @@
|
||||
</distro>
|
||||
</dependency>
|
||||
<dependency type="build" id="abigail-tools">
|
||||
<distro id="debian">
|
||||
<distro id="ubuntu">
|
||||
<package variant="x86_64" />
|
||||
</distro>
|
||||
</dependency>
|
||||
|
Loading…
Reference in New Issue
Block a user