diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 4bb6d041b904..ba8374657f5f 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -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