Skip to content

Commit

Permalink
Fix #185, Apply CodeQL to Every Branch
Browse files Browse the repository at this point in the history
  • Loading branch information
arielswalker committed Feb 12, 2021
1 parent dc33b04 commit a8fde08
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions .github/workflows/codeql-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: "CodeQL Analysis"

on:
push:
branches:
- main
pull_request:

env:
Expand All @@ -20,6 +18,7 @@ jobs:
buildtype: [debug, release]

runs-on: ubuntu-18.04
timeout-minutes: 15
env:
BUILDTYPE: ${{ matrix.buildtype }}
steps:
Expand All @@ -28,6 +27,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
Expand All @@ -43,17 +47,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

0 comments on commit a8fde08

Please sign in to comment.