Skip to content

Commit 23e966c

Browse files
authored
Fix CI apt-get install (AFLplusplus#2618)
1 parent 31e31b6 commit 23e966c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/build_and_test.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
steps:
2626
- name: Install mimetype
2727
if: runner.os == 'Linux'
28-
run: sudo apt-get install -y libfile-mimeinfo-perl
28+
run: sudo apt-get update && sudo apt-get install -y libfile-mimeinfo-perl
2929
- name: install mdbook
3030
uses: baptiste0928/cargo-install@v3
3131
with:
@@ -159,7 +159,7 @@ jobs:
159159
needs: ubuntu
160160
steps:
161161
- name: Install curl
162-
run: sudo apt-get install clang
162+
run: sudo apt-get update && sudo apt-get install clang
163163
- uses: dtolnay/rust-toolchain@stable
164164
- uses: actions/checkout@v4
165165
- uses: Swatinem/rust-cache@v2
@@ -173,7 +173,7 @@ jobs:
173173
runs-on: ubuntu-24.04
174174
steps:
175175
- name: Install deps
176-
run: sudo apt-get install -y lsb-release wget software-properties-common gnupg ninja-build python3-dev python3-pip python3-venv libz3-dev
176+
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
177177
- name: Install maturin
178178
run: cargo install --locked maturin
179179
- uses: actions/checkout@v4
@@ -204,7 +204,7 @@ jobs:
204204
- uses: actions/checkout@v4
205205
- name: Install linkspector
206206
shell: bash
207-
run: sudo apt-get install -y npm && npm install -g @umbrelladocs/linkspector
207+
run: sudo apt-get update && sudo apt-get install -y npm && npm install -g @umbrelladocs/linkspector
208208
- name: Run linkspector
209209
shell: bash
210210
run: ./scripts/check_md_links.sh
@@ -496,7 +496,7 @@ jobs:
496496
runs-on: ubuntu-24.04
497497
steps:
498498
- name: Install curl
499-
run: sudo apt-get install clang
499+
run: sudo apt-get update && sudo apt-get install clang
500500
- uses: dtolnay/rust-toolchain@stable
501501
- uses: nttld/setup-ndk@v1
502502
with:
@@ -518,4 +518,4 @@ jobs:
518518
#- name: Try if clang works
519519
# run: clang -v
520520
#- name: Windows Test
521-
# run: C:\Rust\.cargo\bin\cargo.exe test --verbose
521+
# run: C:\Rust\.cargo\bin\cargo.exe test --verbose

0 commit comments

Comments
 (0)