xref: /libCEED/.github/workflows/rust-documentation.yml (revision dcefb99bf4e43737baea662a94271a0fc9c30aca)
18a4ce0d7SJeremy L Thompsonname: Rust Documentation
28a4ce0d7SJeremy L Thompson
38a4ce0d7SJeremy L Thompsonon:
48a4ce0d7SJeremy L Thompson  push:
58a4ce0d7SJeremy L Thompson
68a4ce0d7SJeremy L Thompsonjobs:
7*dcefb99bSjeremylt  test:
88a4ce0d7SJeremy L Thompson    strategy:
98a4ce0d7SJeremy L Thompson      matrix:
10b0ae8d51SJed Brown        os: [ubuntu-20.04]
11*dcefb99bSjeremylt        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:
21*dcefb99bSjeremylt        toolchain: nightly
228a4ce0d7SJeremy L Thompson    - name: Build documentation
238a4ce0d7SJeremy L Thompson      run: |
24*dcefb99bSjeremylt        cargo +nightly doc --package libceed-sys --package libceed --no-deps
25