Skip to content

enable tls for reqwest #24

enable tls for reqwest

enable tls for reqwest #24

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build_and_check:
strategy:
matrix:
target:
- x86_64-unknown-linux-gnu
- wasm32-unknown-unknown
name: Build Check ${{ matrix.target }}
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install ${{ matrix.target }}
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.target }}
profile: minimal
override: true
- name: check build
uses: actions-rs/cargo@v1
with:
command: check
args: --target ${{matrix.target}} --all-features
test:
strategy:
matrix:
target:
- x86_64-unknown-linux-gnu
name: Test ${{ matrix.target }}
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install ${{ matrix.target }}
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.target }}
profile: minimal
override: true
- name: test
uses: actions-rs/cargo@v1
with:
command: test
args: --target ${{matrix.target}}
- name: test --all-features
uses: actions-rs/cargo@v1
with:
command: test
args: --target ${{matrix.target}} --all-features
# This is currently broken because
# reqwest is not actually optional
#
# - name: test --no-default-features
# uses: actions-rs/cargo@v1
# with:
# command: test
# args: --target ${{matrix.target}} --no-default-features