xref: /libCEED/.github/workflows/rust-documentation.yml (revision ef9a992f4cf09f2be4ec72f649495c67ec03f813)
18a4ce0d7SJeremy L Thompsonname: Rust Documentation
28a4ce0d7SJeremy L Thompson
38a4ce0d7SJeremy L Thompsonon:
48a4ce0d7SJeremy L Thompson  push:
5dcd9f19cSJeremy L Thompson    branches:
6dcd9f19cSJeremy L Thompson      - main
7dcd9f19cSJeremy L Thompson  pull_request:
88a4ce0d7SJeremy L Thompson
98a4ce0d7SJeremy L Thompsonjobs:
10dcefb99bSjeremylt  test:
118a4ce0d7SJeremy L Thompson    strategy:
128a4ce0d7SJeremy L Thompson      matrix:
13*d83cf49fSJeremy L Thompson        os: [ubuntu-24.04]
14dcefb99bSjeremylt        compiler: [clang]
158a4ce0d7SJeremy L Thompson
168a4ce0d7SJeremy L Thompson    runs-on: ${{ matrix.os }}
178a4ce0d7SJeremy L Thompson
188a4ce0d7SJeremy L Thompson    steps:
198a4ce0d7SJeremy L Thompson    - name: Environment setup
20e735508cSJeremy L Thompson      uses: actions/checkout@v4
218a4ce0d7SJeremy L Thompson    - name: Rust setup
2283543782SJeremy L Thompson      uses: dtolnay/rust-toolchain@master
238a4ce0d7SJeremy L Thompson      with:
24dcefb99bSjeremylt        toolchain: nightly
258a4ce0d7SJeremy L Thompson    - name: Build documentation
268a4ce0d7SJeremy L Thompson      run: |
27dcefb99bSjeremylt        cargo +nightly doc --package libceed-sys --package libceed --no-deps
28