Add OpenFlags for SFTP file open options #87
Workflow file for this run
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
name: Linux | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-20.04, ubuntu-22.04] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: "checkout repo" | |
uses: actions/checkout@v2 | |
with: | |
submodules: "recursive" | |
- name: Install Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
- name: Install libssh | |
run: sudo apt install libssh-dev | |
- name: Build and test | |
run: | | |
rustc -V | |
cargo -V | |
cargo test | |
cargo run --example link --features vendored | |
cargo run --example link --features vendored,vendored-openssl |