xref: /libCEED/.github/workflows/rust-documentation.yml (revision 6c0547c13c247bdde6a98c83a2e6dce03b2665bf)
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:
10*6c0547c1SJeremy 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
178a4ce0d7SJeremy L Thompson      uses: actions/checkout@v2
188a4ce0d7SJeremy L Thompson    - name: Rust setup
198a4ce0d7SJeremy L Thompson      uses: actions-rs/toolchain@v1
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