Skip to content

Commit

Permalink
Fix to use login shell for cmake
Browse files Browse the repository at this point in the history
Also add some debuggery related to CodeQL
  • Loading branch information
sebrowne authored Oct 25, 2023
1 parent 7fba5ee commit 16d1e7f
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,9 @@ jobs:
# From Sam's prototype
# https://github.com/sebrowne/Trilinos/blob/f6119bf7906aba7ecde4027733ef93af872f96a0/.github/workflows/codeql.yml
- run: |
mkdir -p trilinos_build
cd trilinos_build
cmake -DTrilinos_ENABLE_ALL_PACKAGES=OFF -DTrilinos_ENABLE_Tpetra=ON -DTrilinos_ENABLE_Muelu=ON -DTrilinos_ENABLE_Epetra=OFF -DTPL_ENABLE_Boost=OFF -DTrilinos_ENABLE_SEACAS=OFF ..
make -j4
find /__w/_tool/CodeQL/2.15.1/x64/codeql/tools/linux64
bash -l -c "mkdir trilinos_build && cd trilinos_build && cmake -G Ninja -DTrilinos_ENABLE_ALL_PACKAGES=OFF -DTrilinos_ENABLE_Tpetra=ON -DTrilinos_ENABLE_Muelu=ON -DTrilinos_ENABLE_Epetra=OFF -DTPL_ENABLE_Boost=OFF -DTrilinos_ENABLE_SEACAS=OFF .."
bash -l -c "cd trilinos_build && ninja"
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
Expand Down

0 comments on commit 16d1e7f

Please sign in to comment.