forked from apache/qpid-proton
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3e9600b
commit bfc5fb9
Showing
3 changed files
with
55 additions
and
112 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,48 @@ | ||
name: Build Debian package | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: python:3.12-bookworm | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Create Build and Install directories | ||
run: mkdir -p build out | ||
shell: bash | ||
- name: Install Linux dependencies | ||
run: apt update && apt install -y build-essential cmake pkg-config ninja-build swig ca-certificates libssl-dev libsasl2-dev libwebsockets-dev | ||
- name: cmake configure | ||
working-directory: build | ||
run: cmake ../ -DCMAKE_INSTALL_PREFIX=install -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -DBUILD_CPP=OFF | ||
shell: bash | ||
- name: cmake build/install | ||
run: cmake --build "build" -t install | ||
shell: bash | ||
- name: Copy DEBIAN folder | ||
run: cp -r ci/DEBIAN build/install/ | ||
- name: Set Debian release | ||
run: sed -i s/VERSION/0${{ github.ref_name }}/ build/install/DEBIAN/control | ||
- name: Build .deb | ||
run: dpkg-deb --build build/install ${OUTPUT_FILENAME} out/libqpid-proton11-${{ github.ref_name }}-deb12.deb | ||
- name: Upload Install | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: libqpid-proton11-${{ github.ref_name }}-deb12.deb | ||
path: out/libqpid-proton11-${{ github.ref_name }}-deb12.deb | ||
- name: Build wheel | ||
run: pip wheel build/python | ||
- name: Copy file | ||
run: cp python_qpid_proton*.whl out/python_qpid_proton-${{ github.ref_name }}-cp312-cp312-linux_x86_64.whl | ||
- name: Upload wheel | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: python_qpid_proton-${{ github.ref_name }}-cp312-cp312-linux_x86_64.whl | ||
path: out/python_qpid_proton-${{ github.ref_name }}-cp312-cp312-linux_x86_64.whl | ||
- name: Create release | ||
if: github.ref_type == 'tag' | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
draft: true | ||
files: out/* |
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,7 @@ | ||
Package: libqpid-proton11 | ||
Architecture: amd64 | ||
Version: VERSION | ||
Section: libs | ||
Priority: optional | ||
Maintainer: local <[email protected]> | ||
Description: Anexia fork build for qpid proton |