Skip to content

Commit

Permalink
CI: remove useless use of sudo
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Olivier <[email protected]>
  • Loading branch information
martin-olivier committed Jan 8, 2025
1 parent 9274539 commit 12d44de
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:

- name: Install libelf
if: ${{ matrix.os == 'ubuntu-latest' }}
run: sudo apt install -y libelf-dev
run: apt install -y libelf-dev

- name: Generate project files
run: cmake . -B build -G "${{ matrix.generator }}" -DCMAKE_CXX_STANDARD=${{ matrix.cxx-std }} -DDYLIB_BUILD_TESTS=ON -DDYLIB_WARNING_AS_ERRORS=ON
Expand Down Expand Up @@ -114,10 +114,10 @@ jobs:

steps:
- name: Update packages
run: sudo apt update
run: apt update

- name: Install valgrind
run: sudo apt install -y build-essential cmake
run: apt install -y build-essential cmake

- name: Generate project files
run: cmake . -B build -DCMAKE_CXX_STANDARD=${{ matrix.cxx-std }} -DDYLIB_BUILD_TESTS=ON -DDYLIB_WARNING_AS_ERRORS=ON
Expand All @@ -137,10 +137,10 @@ jobs:
- uses: actions/checkout@v4

- name: Update packages
run: sudo apt update
run: apt update

- name: Install valgrind
run: sudo apt install -y valgrind libelf-dev
run: apt install -y valgrind libelf-dev

- name: Generate tests build file
run: cmake . -B build -DCMAKE_CXX_STANDARD=20 -DDYLIB_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Debug
Expand Down

0 comments on commit 12d44de

Please sign in to comment.