Skip to content

Commit

Permalink
fix(test): cmake find use sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
HPDell committed Jul 21, 2024
1 parent aa6718b commit 04f87e0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ jobs:
ubuntu-test:
# The type of runner that the job will run on
runs-on: ubuntu-24.04
strategy:
matrix:
openmp: [TRUE, FALSE]
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Expand All @@ -47,7 +44,7 @@ jobs:
run: |
cmake -B build -S . -DCMAKE_BUILD_TYPE:STRING=Release -DWITH_TESTS:BOOL=OFF
cmake --build build --config Release
cmake --install build
sudo cmake --install build
- name: Test Find
run: |
cmake -B build/CMakeFind -S test/CMakeFind
Expand Down

0 comments on commit 04f87e0

Please sign in to comment.