remove deprecations and test build #34
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: Windows | |
on: | |
push: | |
pull_request: | |
branches: [ "latest" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
default_features: | |
name: Default Features | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
toolchain: | |
- stable | |
- beta | |
- nightly | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Checkout submodules | |
run: git submodule update --init | |
- name: Update Rust | |
run: | | |
rustup update ${{ matrix.toolchain }} | |
rustup default ${{ matrix.toolchain }} | |
rustup component add rustfmt | |
- name: Build | |
run: cargo build --verbose | |
- name: Run Tests | |
run: cargo test --verbose | |
- name: Test Formatting | |
run: cargo fmt --all -- --check | |
- name: Build Docs | |
run: cargo doc | |
- name: Build Package | |
run: cargo package --verbose | |
windows_features: | |
name: All Windows Features | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
toolchain: | |
- stable | |
- beta | |
- nightly | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Checkout submodules | |
run: git submodule update --init | |
- name: Update Rust | |
run: | | |
rustup update ${{ matrix.toolchain }} | |
rustup default ${{ matrix.toolchain }} | |
rustup component add rustfmt | |
- name: Build | |
run: cargo build --verbose --features network,wel | |
- name: Run Tests | |
run: cargo test --verbose --features network,wel | |
- name: Test Formatting | |
run: cargo fmt --all -- --check | |
- name: Build Docs | |
run: cargo doc --features network,wel | |
- name: Build Package | |
run: cargo package --verbose --features network,wel |