xref: /libCEED/.github/workflows/rust-documentation.yml (revision 83543782211b969e81b4ba8cff4a5e8dc5363366)
18a4ce0d7SJeremy L Thompsonname: Rust Documentation
28a4ce0d7SJeremy L Thompson
38a4ce0d7SJeremy L Thompsonon:
48a4ce0d7SJeremy L Thompson  push:
58a4ce0d7SJeremy L Thompson
68a4ce0d7SJeremy L Thompsonjobs:
7dcefb99bSjeremylt  test:
88a4ce0d7SJeremy L Thompson    strategy:
98a4ce0d7SJeremy L Thompson      matrix:
106c0547c1SJeremy L Thompson        os: [ubuntu-22.04]
11dcefb99bSjeremylt        compiler: [clang]
128a4ce0d7SJeremy L Thompson
138a4ce0d7SJeremy L Thompson    runs-on: ${{ matrix.os }}
148a4ce0d7SJeremy L Thompson
158a4ce0d7SJeremy L Thompson    steps:
168a4ce0d7SJeremy L Thompson    - name: Environment setup
17*83543782SJeremy L Thompson      uses: actions/checkout@v3
188a4ce0d7SJeremy L Thompson    - name: Rust setup
19*83543782SJeremy L Thompson      uses: dtolnay/rust-toolchain@master
208a4ce0d7SJeremy L Thompson      with:
21dcefb99bSjeremylt        toolchain: nightly
228a4ce0d7SJeremy L Thompson    - name: Build documentation
238a4ce0d7SJeremy L Thompson      run: |
24dcefb99bSjeremylt        cargo +nightly doc --package libceed-sys --package libceed --no-deps
25