added regression test: echo client-server #74
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: Docs | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
rustdoc: | |
name: Build and deploy docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install needed packages | |
uses: awalsh128/cache-apt-pkgs-action@latest | |
with: | |
packages: libpango1.0-dev libatk1.0-dev libgtk-3-dev | |
version: 1.0 | |
- name: Install protobuf | |
run: sudo apt install protobuf-compiler | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
profile: minimal | |
override: true | |
- name: Build docs | |
run: cargo doc --workspace --lib --no-deps --document-private-items | |
- name: Deploy docs | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_branch: docs | |
publish_dir: ./target/doc | |
destination_dir: docs |