Add sudo apt-get update to CI (#801)

This commit is contained in:
Emil Ernerfeldt 2021-10-16 15:45:35 +02:00 committed by GitHub
parent ef218e8ba8
commit bd06dec653
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ jobs:
profile: minimal profile: minimal
toolchain: 1.54.0 toolchain: 1.54.0
override: true override: true
- run: sudo apt-get install libspeechd-dev - run: sudo apt-get update && sudo apt-get install libspeechd-dev
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
with: with:
command: check command: check
@ -34,7 +34,7 @@ jobs:
profile: minimal profile: minimal
toolchain: 1.54.0 toolchain: 1.54.0
override: true override: true
- run: sudo apt-get install libspeechd-dev - run: sudo apt-get update && sudo apt-get install libspeechd-dev
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
with: with:
command: check command: check
@ -82,7 +82,7 @@ jobs:
profile: minimal profile: minimal
toolchain: 1.54.0 toolchain: 1.54.0
override: true override: true
- run: sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev libgtk-3-dev # libgtk-3-dev is used by rfd - run: sudo apt-get update && sudo apt-get install libxcb-render0-dev libxcb-shape0-dev libxcb-xfixes0-dev libspeechd-dev libxkbcommon-dev libssl-dev libgtk-3-dev # libgtk-3-dev is used by rfd
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
with: with:
command: test command: test
@ -115,7 +115,7 @@ jobs:
toolchain: 1.54.0 toolchain: 1.54.0
override: true override: true
- run: rustup component add clippy - run: rustup component add clippy
- run: sudo apt-get install libspeechd-dev libgtk-3-dev # libgtk-3-dev is used by rfd - run: sudo apt-get update && sudo apt-get install libspeechd-dev libgtk-3-dev # libgtk-3-dev is used by rfd
- uses: actions-rs/cargo@v1 - uses: actions-rs/cargo@v1
with: with:
command: clippy command: clippy
@ -131,7 +131,7 @@ jobs:
profile: minimal profile: minimal
toolchain: 1.54.0 toolchain: 1.54.0
override: true override: true
- run: sudo apt-get install libspeechd-dev - run: sudo apt-get update && sudo apt-get install libspeechd-dev
- run: cargo doc -p emath -p epaint -p egui -p eframe -p epi -p egui_web -p egui-winit -p egui_glium --lib --no-deps --all-features - run: cargo doc -p emath -p epaint -p egui -p eframe -p epi -p egui_web -p egui-winit -p egui_glium --lib --no-deps --all-features
doc_web: doc_web:
@ -144,6 +144,6 @@ jobs:
profile: minimal profile: minimal
toolchain: 1.54.0 toolchain: 1.54.0
override: true override: true
- run: sudo apt-get install libspeechd-dev - run: sudo apt-get update && sudo apt-get install libspeechd-dev
- run: rustup target add wasm32-unknown-unknown - run: rustup target add wasm32-unknown-unknown
- run: cargo doc -p egui_web --target wasm32-unknown-unknown --lib --no-deps --all-features - run: cargo doc -p egui_web --target wasm32-unknown-unknown --lib --no-deps --all-features