devolutions-crypto 0.10.0

An abstraction layer for the cryptography used by Devolutions
Documentation
name: Build macOS Python
runs:
  using: composite
  steps:
    - uses: actions/setup-python@v5
      with:
        python-version: "3.14"

    - name: Install rust
      shell: bash
      run: |
        set -e
        curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable
        echo "$HOME/.cargo/bin" >> $GITHUB_PATH
        source $HOME/.cargo/env

        rustup target add x86_64-apple-darwin
        rustup target add aarch64-apple-darwin

    - name: Install maturin
      working-directory: ./python
      shell: bash
      run: pip install maturin --disable-pip-version-check

    - name: Building wheels
      working-directory: ./python
      shell: bash
      run: |
        source $HOME/.cargo/env

        maturin build --release --target=x86_64-apple-darwin
        maturin build --release --target=aarch64-apple-darwin

    - name: Place Artifacts
      shell: bash
      run: |
        mv target/wheels/*.whl .

    - uses: actions/upload-artifact@v4.3.6
      with:
        name: python-wheels-macos
        path: ./*.whl