xref: /libCEED/.github/workflows/rust-documentation.yml (revision baf96a30fc83f1cce83f61e183e51df19381d4f1)
1name: Rust Documentation
2
3on:
4  push:
5    branches:
6      - main
7  pull_request:
8
9jobs:
10  test:
11    strategy:
12      matrix:
13        os: [ubuntu-22.04]
14        compiler: [clang]
15
16    runs-on: ${{ matrix.os }}
17
18    steps:
19    - name: Environment setup
20      uses: actions/checkout@v3
21    - name: Rust setup
22      uses: dtolnay/rust-toolchain@master
23      with:
24        toolchain: nightly
25    - name: Build documentation
26      run: |
27        cargo +nightly doc --package libceed-sys --package libceed --no-deps
28