CI: pin to Ubuntu 20.04. (#5407)

CI is currently broken because `ubuntu-latest` moved to 22.04, which is
missing at least one package (`libclang1-9` used in our CI jobs) and may
be causing other issues as well.

This PR pins us back to 20.04; separately we should look into upgrading
when issues are resolved.
This commit is contained in:
Chris Fallin
2022-12-09 11:49:59 -08:00
committed by GitHub
parent 8bbd9bb228
commit 5bc149b5ae

View File

@@ -66,7 +66,7 @@ jobs:
doc: doc:
name: Doc build name: Doc build
runs-on: ubuntu-latest runs-on: ubuntu-20.04 # TODO: remove pin when fixed (#5408)
env: env:
CARGO_MDBOOK_VERSION: 0.4.21 CARGO_MDBOOK_VERSION: 0.4.21
RUSTDOCFLAGS: -Dbroken_intra_doc_links --cfg nightlydoc RUSTDOCFLAGS: -Dbroken_intra_doc_links --cfg nightlydoc
@@ -335,7 +335,7 @@ jobs:
# Build and test the wasi-nn module. # Build and test the wasi-nn module.
test_wasi_nn: test_wasi_nn:
name: Test wasi-nn module name: Test wasi-nn module
runs-on: ubuntu-latest runs-on: ubuntu-20.04 # TODO: remove pin when fixed (#5408)
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with: