Skip to content

Commit

Permalink
fix: try remove sudo for nightly image
Browse files Browse the repository at this point in the history
  • Loading branch information
qiweiii committed Jan 4, 2024
1 parent a8565fe commit 4c7f4cc
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,17 @@ commands:
- run:
name: Install libclang for rocksdb
command: sudo apt install clang
install-depends-nightly:
steps:
- run:
name: Prepare for apt upgrades
command: apt update
- run:
name: Install libssl-dev for openssl-sys
command: apt install -y libssl-dev
- run:
name: Install libclang for rocksdb
command: apt install clang
orbs:
rust: circleci/[email protected]
win: circleci/[email protected]
Expand Down Expand Up @@ -131,7 +142,7 @@ jobs:
RUST_LOG: "debug"
steps:
- checkout
- install-depends
- install-depends-nightly
- run:
name: Run rustfmt
command: cargo +nightly fmt --all -- --check
Expand Down

0 comments on commit 4c7f4cc

Please sign in to comment.