forked from scp-fs2open/fs2open.github.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request scp-fs2open#5892 from JohnAFernandez/Fix-Coverity-…
…Workflow Fix Coverity WorkFlow
- Loading branch information
Showing
1 changed file
with
5 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,13 @@ name: Weekly Coverity Scan for Freespace Open | |
# adapted from code by "albert-github" on the doxygen repository | ||
# many thanks for figuring this out first so it could be less painful for us! | ||
|
||
# This mode is for testing | ||
#This mode is for testing | ||
#on: [push, pull_request] | ||
|
||
# In production, push on a specific schedule | ||
on: | ||
schedule: | ||
- cron: "1 0 * * 5" # Run once per a week on Friday morning (midnight UTC, 4 AM EST), to avoid Coverity's submission limits | ||
- cron: "5 0 * * 5" # Run once per a week on Friday morning (midnight UTC, 4 AM EST), to avoid Coverity's submission limits | ||
|
||
env: | ||
QT_VERSION: 5.12.12 | ||
|
@@ -19,23 +19,16 @@ jobs: | |
build: | ||
name: Build FSO With Coverity Wrapper | ||
runs-on: ${{ matrix.config.os }} | ||
container: ghcr.io/scp-fs2open/linux_build:sha-5ac6f70 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
config: | ||
- { name: "GCC on ubuntu", os: ubuntu-latest, build_type: "Release" } | ||
steps: | ||
- name: Install Dependencies | ||
run: | | ||
sudo apt-get install ninja-build | ||
sudo apt install cmake libsdl2-dev g++ | ||
sudo apt-get install libopenal-dev | ||
sudo apt-get install -y libudev-dev | ||
sudo apt-get install doxygen | ||
sudo apt install graphviz | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
uses: actions/checkout@v1 | ||
with: | ||
submodules: recursive # `true` to checkout submodules, `recursive` to recursively checkout submodules | ||
|
||
|
@@ -51,13 +44,6 @@ jobs: | |
echo "$(pwd)/cov-scan/bin" >> $GITHUB_PATH | ||
echo "NPROC=$(getconf _NPROCESSORS_ONLN)" >> $GITHUB_ENV | ||
- name: Prepare Vulkan SDK | ||
uses: humbletim/[email protected] | ||
with: | ||
vulkan-query-version: 1.3.204.0 | ||
vulkan-components: Vulkan-Headers, Vulkan-Loader | ||
vulkan-use-cache: true | ||
|
||
- name: Configure CMake for FSO | ||
env: | ||
CONFIGURATION: Release | ||
|