Update quick-xml and tokio crates #64
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
on: [push, workflow_dispatch] | |
name: build | |
jobs: | |
check: | |
name: pssh-box-rs check/nightly | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@nightly | |
- uses: taiki-e/install-action@cargo-hack | |
# To remove once https://github.com/MaterializeInc/rust-protobuf-native/issues/20 is resolved | |
- name: Install gtest | |
uses: MarkusJx/googletest-installer@v1.1 | |
- name: Install protoc compiler | |
run: | | |
sudo apt-get update | |
sudo apt-get install protobuf-compiler | |
- run: cargo check | |
- run: cargo hack check --feature-powerset --no-dev-deps | |
test-linux: | |
name: linux | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
# To remove once https://github.com/MaterializeInc/rust-protobuf-native/issues/20 is resolved | |
- name: Install gtest | |
uses: MarkusJx/googletest-installer@v1.1 | |
- name: Install protoc compiler | |
run: | | |
sudo apt-get update | |
sudo apt-get install protobuf-compiler | |
- run: cargo test --jobs 1 --all-features | |
test-windows: | |
name: windows | |
runs-on: windows-latest | |
timeout-minutes: 60 | |
steps: | |
- uses: actions/checkout@v4 | |
# To remove once https://github.com/MaterializeInc/rust-protobuf-native/issues/20 is resolved | |
- name: Install gtest | |
uses: MarkusJx/googletest-installer@v1.1 | |
- uses: msys2/setup-msys2@v2 | |
with: | |
install: base-devel autotools mingw-w64-x86_64-toolchain mingw-w64-x86_64-rust mingw-w64-ucrt-x86_64-gcc mingw-w64-x86_64-cmake git | |
- name: run tests | |
shell: msys2 {0} | |
run: cargo test --jobs 1 --all-features | |
test-macos: | |
name: macos | |
runs-on: macos-latest | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dtolnay/rust-toolchain@stable | |
# To remove once https://github.com/MaterializeInc/rust-protobuf-native/issues/20 is resolved | |
- name: Install gtest | |
run: brew install googletest | |
- name: install protobuf compiler | |
run: brew install protobuf | |
- run: cargo test --jobs 1 --all-features |