Commit 3e39258827

3e392588277ca827978712f2a7e388714c815319

parent: 8ae7928380

Unsigned

Sandro Santilli <strk@kbt.io> · 2026-06-29 21:46 UTC

ci: add Debian 13 (trixie) .deb package build to release workflow

Layout: unified · split

.github/workflows/release.yml +32
@@ -62,3 +62,35 @@ jobs:
6262 with:
6363 name: 'libmatrix.so-${{ matrix.os }}'
6464 path: target/release/libmatrix.so
65
66 publish-deb:
67 name: Publish .deb for Debian 13 (trixie)
68 runs-on: ubuntu-latest
69 container:
70 image: debian:trixie
71 steps:
72 - name: Install system dependencies
73 run: |
74 apt-get update
75 apt-get install -y ca-certificates curl gnupg apt-transport-https build-essential pkg-config libssl-dev libsqlite3-dev git
76 mkdir -p /etc/apt/keyrings
77 curl --silent https://weechat.org/dev/info/debian_repository_signing_key_asc/ | tee /etc/apt/keyrings/weechat.asc
78 echo "deb [signed-by=/etc/apt/keyrings/weechat.asc] https://weechat.org/debian trixie main" | tee /etc/apt/sources.list.d/weechat.list
79 apt-get update
80 apt-get install -y weechat-curses weechat-plugins weechat-python weechat-perl weechat-dev
81 - name: Install Rust toolchain
82 run: |
83 curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
84 echo "$HOME/.cargo/bin" >> $GITHUB_PATH
85 rustup default stable
86 - name: Checkout sources
87 uses: actions/checkout@v4
88 - name: Install cargo-deb
89 run: cargo install cargo-deb
90 - name: Build .deb package
91 run: cargo deb --release
92 - name: Upload .deb artifact
93 uses: actions/upload-artifact@v4
94 with:
95 name: weechat-matrix-debian-13.deb
96 path: target/debian/*.deb