Fix CI apt-get install (#2618)
This commit is contained in:
parent
31e31b662d
commit
23e966c702
12
.github/workflows/build_and_test.yml
vendored
12
.github/workflows/build_and_test.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
||||
steps:
|
||||
- name: Install mimetype
|
||||
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
|
||||
uses: baptiste0928/cargo-install@v3
|
||||
with:
|
||||
@ -159,7 +159,7 @@ jobs:
|
||||
needs: ubuntu
|
||||
steps:
|
||||
- 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: actions/checkout@v4
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
@ -173,7 +173,7 @@ jobs:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- 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
|
||||
run: cargo install --locked maturin
|
||||
- uses: actions/checkout@v4
|
||||
@ -204,7 +204,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install linkspector
|
||||
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
|
||||
shell: bash
|
||||
run: ./scripts/check_md_links.sh
|
||||
@ -496,7 +496,7 @@ jobs:
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- 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: nttld/setup-ndk@v1
|
||||
with:
|
||||
@ -518,4 +518,4 @@ jobs:
|
||||
#- name: Try if clang works
|
||||
# run: clang -v
|
||||
#- name: Windows Test
|
||||
# run: C:\Rust\.cargo\bin\cargo.exe test --verbose
|
||||
# run: C:\Rust\.cargo\bin\cargo.exe test --verbose
|
||||
|
Loading…
x
Reference in New Issue
Block a user