Add autoconnect_with_truststore
helper
#28
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: MuslTests | |
on: | |
pull_request: | |
branches: [ master ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
musl-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | |
- name: Install Musl | |
run: sudo apt install -y musl musl-tools | |
- name: Update Rust | |
run: rustup update | |
- name: Add Musl Target | |
run: rustup target add x86_64-unknown-linux-musl | |
- name: Run Musl Tests | |
run: cargo test --target x86_64-unknown-linux-musl --verbose |