mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-25 20:45:07 +00:00
Move ABI check to Github actions
This commit is contained in:
parent
0073dd0570
commit
0b64457256
@ -1,17 +1,5 @@
|
|||||||
version: 2
|
version: 2
|
||||||
jobs:
|
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:
|
build-ubuntu-x86_64:
|
||||||
machine:
|
machine:
|
||||||
image: circleci/classic:latest
|
image: circleci/classic:latest
|
||||||
@ -175,7 +163,6 @@ workflows:
|
|||||||
- build-windows
|
- build-windows
|
||||||
- build-ubuntu-x86_64
|
- build-ubuntu-x86_64
|
||||||
- build-snap
|
- build-snap
|
||||||
- check-abi
|
|
||||||
- build-chromeos-x86_64
|
- build-chromeos-x86_64
|
||||||
- publish-edge:
|
- publish-edge:
|
||||||
requires:
|
requires:
|
||||||
|
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
@ -10,8 +10,18 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
branches: [ master ]
|
branches: [ master ]
|
||||||
|
|
||||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
|
||||||
jobs:
|
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"
|
# This workflow contains a single job called "build"
|
||||||
build:
|
build:
|
||||||
# The type of runner that the job will run on
|
# The type of runner that the job will run on
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
</distro>
|
</distro>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency type="build" id="abigail-tools">
|
<dependency type="build" id="abigail-tools">
|
||||||
<distro id="debian">
|
<distro id="ubuntu">
|
||||||
<package variant="x86_64" />
|
<package variant="x86_64" />
|
||||||
</distro>
|
</distro>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
Loading…
Reference in New Issue
Block a user