Skip to content

Commit

Permalink
remove sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenfeizhang committed Jan 14, 2025
1 parent b2d1deb commit 34a3229
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Install mpi
run: python3 ./scripts/install.py
- name: Install build dependencies
run: sudo apt-get install -y build-essential
run: apt-get install -y build-essential
- name: Setup
run: cargo run --bin=dev-setup --release
- name: Run benchmark
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
if [ "${{ matrix.os }}" == "macos-latest" ]; then
brew install gcc make
else
sudo apt-get install -y build-essential
apt-get install -y build-essential
fi
shell: bash

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
components: rustfmt, clippy
- name: Setup Dependencies
run: |
sudo apt-get install -y build-essential
apt-get install -y build-essential
- run: python3 ./scripts/install.py
- run: cargo fmt --all -- --check
- run: cargo clippy --all
Expand All @@ -44,7 +44,7 @@ jobs:
if [ "${{ matrix.os }}" == "macos-latest" ]; then
brew install gcc make
else
sudo apt-get install -y build-essential
apt-get install -y build-essential
fi
- name: Set RUSTFLAGS for AVX
if: matrix.feature != ''
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
if [ "${{ matrix.os }}" == "macos-latest" ]; then
brew install gcc make
else
sudo apt-get install -y build-essential
apt-get install -y build-essential
fi
- name: Set RUSTFLAGS for AVX
if: matrix.feature != ''
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/nightly_e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ jobs:

- name: Setup Dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential
apt-get install -y build-essential
- name: Set up Rust
uses: dtolnay/rust-toolchain@master
Expand Down

0 comments on commit 34a3229

Please sign in to comment.