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@v4 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