Fix CI apt-get install (#2618)
This commit is contained in:
parent
31e31b662d
commit
23e966c702
10
.github/workflows/build_and_test.yml
vendored
10
.github/workflows/build_and_test.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Install mimetype
|
- name: Install mimetype
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
run: sudo apt-get install -y libfile-mimeinfo-perl
|
run: sudo apt-get update && sudo apt-get install -y libfile-mimeinfo-perl
|
||||||
- name: install mdbook
|
- name: install mdbook
|
||||||
uses: baptiste0928/cargo-install@v3
|
uses: baptiste0928/cargo-install@v3
|
||||||
with:
|
with:
|
||||||
@ -159,7 +159,7 @@ jobs:
|
|||||||
needs: ubuntu
|
needs: ubuntu
|
||||||
steps:
|
steps:
|
||||||
- name: Install curl
|
- name: Install curl
|
||||||
run: sudo apt-get install clang
|
run: sudo apt-get update && sudo apt-get install clang
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
@ -173,7 +173,7 @@ jobs:
|
|||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- name: Install deps
|
- name: Install deps
|
||||||
run: sudo apt-get install -y lsb-release wget software-properties-common gnupg ninja-build python3-dev python3-pip python3-venv libz3-dev
|
run: sudo apt-get update && sudo apt-get install -y lsb-release wget software-properties-common gnupg ninja-build python3-dev python3-pip python3-venv libz3-dev
|
||||||
- name: Install maturin
|
- name: Install maturin
|
||||||
run: cargo install --locked maturin
|
run: cargo install --locked maturin
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@ -204,7 +204,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install linkspector
|
- name: Install linkspector
|
||||||
shell: bash
|
shell: bash
|
||||||
run: sudo apt-get install -y npm && npm install -g @umbrelladocs/linkspector
|
run: sudo apt-get update && sudo apt-get install -y npm && npm install -g @umbrelladocs/linkspector
|
||||||
- name: Run linkspector
|
- name: Run linkspector
|
||||||
shell: bash
|
shell: bash
|
||||||
run: ./scripts/check_md_links.sh
|
run: ./scripts/check_md_links.sh
|
||||||
@ -496,7 +496,7 @@ jobs:
|
|||||||
runs-on: ubuntu-24.04
|
runs-on: ubuntu-24.04
|
||||||
steps:
|
steps:
|
||||||
- name: Install curl
|
- name: Install curl
|
||||||
run: sudo apt-get install clang
|
run: sudo apt-get update && sudo apt-get install clang
|
||||||
- uses: dtolnay/rust-toolchain@stable
|
- uses: dtolnay/rust-toolchain@stable
|
||||||
- uses: nttld/setup-ndk@v1
|
- uses: nttld/setup-ndk@v1
|
||||||
with:
|
with:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user