Update doc builder to ubuntu-latest (#5410)

Apparently the `sudo apt-get` is no longer necessary so just delete it
and everything else seems to work.
This commit is contained in:
Alex Crichton
2022-12-09 15:41:37 -06:00
committed by GitHub
parent 5bc149b5ae
commit 6e0a029c35

View File

@@ -66,7 +66,7 @@ jobs:
doc:
name: Doc build
runs-on: ubuntu-20.04 # TODO: remove pin when fixed (#5408)
runs-on: ubuntu-latest
env:
CARGO_MDBOOK_VERSION: 0.4.21
RUSTDOCFLAGS: -Dbroken_intra_doc_links --cfg nightlydoc
@@ -80,7 +80,6 @@ jobs:
toolchain: nightly-2022-09-07
# Build C API documentation
- run: sudo apt-get update -y && sudo apt-get install -y libclang1-9 libclang-cpp9
- run: curl -L https://sourceforge.net/projects/doxygen/files/rel-1.9.3/doxygen-1.9.3.linux.bin.tar.gz/download | tar xzf -
- run: echo "`pwd`/doxygen-1.9.3/bin" >> $GITHUB_PATH
- run: cd crates/c-api && doxygen doxygen.conf