Have with_fido_session macro call get_info() and pass result to body #49
This file contains hidden or 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
| name: Wheels | |
| on: [push, pull_request] | |
| permissions: read-all | |
| jobs: | |
| wheels: | |
| runs-on: ${{ matrix.os }} | |
| name: ${{ matrix.package }} wheels - ${{ matrix.os }} ${{ matrix.target }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| package: [yubikit, ykman] | |
| os: [ubuntu-latest, ubuntu-22.04-arm, macos-latest, windows-latest, windows-11-arm] | |
| include: | |
| - os: ubuntu-latest | |
| target: x86_64 | |
| container: quay.io/pypa/manylinux_2_28_x86_64 | |
| - os: ubuntu-22.04-arm | |
| target: aarch64 | |
| container: quay.io/pypa/manylinux_2_28_aarch64 | |
| - os: macos-latest | |
| target: universal2-apple-darwin | |
| - os: windows-latest | |
| target: x64 | |
| - os: windows-11-arm | |
| target: aarch64 | |
| # yubikit needs explicit Python versions on non-Linux platforms | |
| - package: yubikit | |
| os: macos-latest | |
| python-versions: "3.10\n3.11\n3.12\n3.13\n3.14" | |
| - package: yubikit | |
| os: windows-latest | |
| python-versions: "3.10\n3.11\n3.12\n3.13\n3.14" | |
| - package: yubikit | |
| os: windows-11-arm | |
| python-versions: "3.11\n3.12\n3.13\n3.14" | |
| interpreter: 3.11 3.12 3.13 3.14 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Set up Python | |
| if: matrix.python-versions | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-versions }} | |
| - name: Install dependencies | |
| if: startsWith(matrix.os, 'ubuntu') | |
| run: | | |
| sudo apt-get update -qq | |
| sudo apt-get install -qq libpcsclite-dev libudev-dev | |
| - name: Build wheels | |
| uses: PyO3/maturin-action@v1 | |
| with: | |
| target: ${{ matrix.target }} | |
| args: --release --out dist ${{ matrix.interpreter && format('--interpreter {0}', matrix.interpreter) || '--find-interpreter' }} | |
| manylinux: manylinux_2_28 | |
| container: ${{ matrix.container }} | |
| before-script-linux: >- | |
| ${{ matrix.container && (matrix.package == 'ykman' | |
| && 'dnf install -y pcsc-lite-devel systemd-devel dbus-devel' | |
| || 'dnf install -y pcsc-lite-devel systemd-devel') || '' }} | |
| working-directory: packages/${{ matrix.package }} | |
| - name: Upload wheels | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: ${{ matrix.package }}-wheels-${{ matrix.os }}-${{ matrix.target }} | |
| path: packages/${{ matrix.package }}/dist/*.whl |