Skip to content

Commit

Permalink
GitHub CI: improve PWD management
Browse files Browse the repository at this point in the history
  • Loading branch information
tristan0x committed Sep 25, 2023
1 parent 37bcb21 commit 4a95fdc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/sonarsource.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ jobs:
shell: bash
working-directory: ${{runner.workspace}}/nmodl
run: |
mkdir build && cd build
cmake .. -G Ninja \
mkdir build
cmake -S . -B build -G Ninja \
-DPYTHON_EXECUTABLE=$(which python3) \
-DCMAKE_BUILD_TYPE=Debug
-DCMAKE_BUILD_TYPE=Release
- name: Run build-wrapper
working-directory: ${{runner.workspace}}/nmodl/build
working-directory: ${{runner.workspace}}/nmodl
run: |
build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} cmake --build .
build-wrapper-linux-x86-64 --out-dir ${{ env.BUILD_WRAPPER_OUT_DIR }} cmake --build build/
- name: Run sonar-scanner
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 4a95fdc

Please sign in to comment.