diff --git a/.github/workflows/codeql-build.yml b/.github/workflows/codeql-build.yml index dcd0b3f4d..fdc42fc6c 100644 --- a/.github/workflows/codeql-build.yml +++ b/.github/workflows/codeql-build.yml @@ -2,8 +2,6 @@ name: "CodeQL Analysis" on: push: - branches: - - main pull_request: branches: - main @@ -22,6 +20,7 @@ jobs: buildtype: [debug, release] runs-on: ubuntu-18.04 + timeout-minutes: 15 env: BUILDTYPE: ${{ matrix.buildtype }} steps: @@ -30,6 +29,11 @@ jobs: uses: actions/checkout@v2 with: submodules: true + + - name: Check versions + run: | + git log -1 --pretty=oneline + git submodule - name: Initialize CodeQL uses: github/codeql-action/init@v1 @@ -45,17 +49,8 @@ jobs: # Setup the build system - name: Make Install - run: make install - - - name: List cpu1 - run: ls build/exe/cpu1/ - - - name: Run cFS - run: | - ./core-cpu1 > cFS_startup_cpu1.txt & - sleep 30 - ../host/cmdUtil --endian=LE --pktid=0x1806 --cmdcode=2 --half=0x0002 - working-directory: ./build/exe/cpu1/ - + run: make + + # Run CodeQL - name: Perform CodeQL Analysis uses: github/codeql-action/analyze@v1