Skip to content

Commit

Permalink
Speed up CI jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
PatKamin committed Sep 1, 2023
1 parent 4ce5cdd commit 7b5956a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 24 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/bandit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ jobs:
- name: Clone the git repo
uses: actions/checkout@v3

- name: Install apt packages
run: |
sudo apt-get update
sudo apt-get install -y doxygen
- name: Install pip packages
run: pip install -r third_party/requirements.txt

Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ jobs:

strategy:
fail-fast: false
matrix:
language: [ 'cpp', 'python' ]

steps:
- name: Checkout repository
Expand All @@ -21,7 +19,7 @@ jobs:
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
languages: cpp, python

- name: Install pip packages
run: pip install -r third_party/requirements.txt
Expand All @@ -34,8 +32,6 @@ jobs:

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"

analyze-windows:
name: Analyze on Windows
Expand All @@ -45,8 +41,6 @@ jobs:

strategy:
fail-fast: false
matrix:
language: [ 'cpp', 'python' ]

steps:
- name: Checkout repository
Expand All @@ -55,7 +49,7 @@ jobs:
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
languages: cpp, python

- name: Install pip packages
run: python3 -m pip install -r third_party/requirements.txt
Expand All @@ -68,5 +62,3 @@ jobs:

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
10 changes: 1 addition & 9 deletions .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,12 @@ jobs:
- name: Clone the git repo
uses: actions/checkout@v3

- name: Install apt packages
run: |
sudo apt-get update
sudo apt-get install -y doxygen
- name: Install pip packages
run: pip install -r third_party/requirements.txt

- name: Configure CMake
run: cmake -B $WORKDIR/build -DUR_ENABLE_TRACING=ON -DUR_DEVELOPER_MODE=ON -DUR_BUILD_TESTS=ON -DUR_FORMAT_CPP_STYLE=ON -DUMF_ENABLE_POOL_TRACKING=ON
run: cmake -B $WORKDIR/build -DUR_ENABLE_TRACING=ON -DUR_DEVELOPER_MODE=ON -DUR_BUILD_TESTS=ON -DUMF_ENABLE_POOL_TRACKING=ON

- name: Generate source from spec, check for uncommitted diff
run: |
cmake --build $WORKDIR/build --target check-generated
- name: Run Coverity
run: |
cd $WORKDIR/build
Expand Down

0 comments on commit 7b5956a

Please sign in to comment.