-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #104 from openSUSE/queue
multipath-tools 0.11.0
- Loading branch information
Showing
45 changed files
with
1,443 additions
and
710 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
name: check-abi for stable branch | ||
on: | ||
push: | ||
branches: | ||
- 'stable-*' | ||
paths: | ||
- '.github/workflows/abi-stable.yaml' | ||
- '**.h' | ||
- '**.c' | ||
- '**.version' | ||
pull_request: | ||
branches: | ||
- 'stable-*' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
reference-abi: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: get parent tag | ||
run: > | ||
echo ${{ github.ref }} | | ||
sed -E 's,refs/heads/stable-([0-9]\.[0-9]*)\.y,PARENT_TAG=\1.0,' >> $GITHUB_ENV | ||
- name: assert parent tag | ||
run: /bin/false | ||
if: ${{ env.PARENT_TAG == '' }} | ||
- name: update | ||
run: sudo apt-get update | ||
- name: dependencies | ||
run: > | ||
sudo apt-get install --yes gcc | ||
gcc make pkg-config abigail-tools | ||
libdevmapper-dev libreadline-dev libaio-dev libsystemd-dev | ||
libudev-dev libjson-c-dev liburcu-dev libcmocka-dev libedit-dev | ||
- name: checkout ${{ env.PARENT_TAG }} | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ env.PARENT_TAG }} | ||
- name: build ABI for ${{ env.PARENT_TAG }} | ||
run: make -j$(grep -c ^processor /proc/cpuinfo) -Orecurse abi | ||
- name: save ABI | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: multipath-abi-${{ env.PARENT_TAG }} | ||
path: abi | ||
|
||
check-abi: | ||
runs-on: ubuntu-20.04 | ||
needs: reference-abi | ||
steps: | ||
- name: get parent tag | ||
run: > | ||
echo ${{ github.ref }} | | ||
sed -E 's,refs/heads/stable-([0-9]\.[0-9]*)\.y,PARENT_TAG=\1.0,' >> $GITHUB_ENV | ||
- name: assert parent tag | ||
run: /bin/false | ||
if: ${{ env.PARENT_TAG == '' }} | ||
- name: checkout ${{ env.PARENT_TAG }} | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ env.PARENT_TAG }} | ||
- name: download ABI for ${{ env.PARENT_TAG }} | ||
id: download_abi | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: multipath-abi-${{ env.PARENT_TAG }} | ||
path: reference-abi | ||
- name: update | ||
run: sudo apt-get update | ||
if: steps.download_abi.outcome != 'success' | ||
- name: dependencies | ||
run: > | ||
sudo apt-get install --yes gcc | ||
gcc make pkg-config abigail-tools | ||
libdevmapper-dev libreadline-dev libaio-dev libsystemd-dev | ||
libudev-dev libjson-c-dev liburcu-dev libcmocka-dev libedit-dev | ||
- name: check ABI of ${{ github.ref }} against ${{ env.PARENT_TAG }} | ||
id: check_abi | ||
run: make -j$(grep -c ^processor /proc/cpuinfo) -Orecurse abi-test | ||
continue-on-error: true | ||
- name: save differences | ||
if: ${{ steps.check_abi.outcome != 'success' }} | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: abi-test | ||
path: abi-test | ||
- name: fail | ||
run: /bin/false | ||
if: steps.check_abi.outcome != 'success' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.