Skip to content

Add support for libstrophe-0.13 and 0.14 #109

Add support for libstrophe-0.13 and 0.14

Add support for libstrophe-0.13 and 0.14 #109

Workflow file for this run

name: libstrophe
on:
push:
branches:
- "*"
tags_ignore:
- "*"
pull_request:
branches:
- "*"
jobs:
ci:
strategy:
fail-fast: false
matrix:
libstrophe-version:
- 0.9.3
- 0.10.1
- 0.11.0
- 0.12.3
- 0.13.1
- 0.14.0
runs-on: ubuntu-24.04
env:
LIBSTROPHE_VERSION: ${{ matrix.libstrophe-version }}
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
steps:
- uses: actions/checkout@v4
- uses: mozilla-actions/[email protected]
- name: Install dependencies
run: ci/install.sh
shell: bash
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy,rustfmt
- name: Test
run: ci/script.sh
shell: bash
msrv:
runs-on: ubuntu-24.04
env:
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"
steps:
- uses: actions/checkout@v4
- uses: mozilla-actions/[email protected]
- name: Get MSRV package metadata
id: metadata
run: cargo metadata --no-deps --format-version 1 | jq -r '"msrv="+(.packages[]|select(.name=="libstrophe").rust_version)' >> $GITHUB_OUTPUT
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ steps.metadata.outputs.msrv }}
components: clippy,rustfmt
- name: Checks
run: ci/checks.sh
shell: bash