forked from orioledb/orioledb
-
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.
* Make static check a separate CI workflow * Rename "build" workflow to "check" * Use verbose mode for cppcheck * Fix the errors cppcheck reports in the verbose mode
- Loading branch information
Showing
12 changed files
with
70 additions
and
60 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
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
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
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
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
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
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: static | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
static: | ||
runs-on: | ||
- ubuntu-22.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
pg_version: [15, 16] | ||
compiler: [clang, gcc] | ||
env: | ||
LLVM_VER: 12 | ||
CPU: ${{ matrix.cpu }} | ||
CHECK_TYPE: static | ||
COMPILER: ${{ matrix.compiler }} | ||
steps: | ||
- name: Checkout extension code into workspace directory | ||
uses: actions/checkout@v4 | ||
with: | ||
path: orioledb | ||
- name: Get the required tag name | ||
shell: bash | ||
run: | | ||
echo "PGTAG=$(grep '^${{ matrix.pg_version }}: ' orioledb/.pgtags | cut -d' ' -f2-)" >> $GITHUB_ENV | ||
- name: Checkout PostgreSQL code into workspace directory | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: orioledb/postgres | ||
ref: ${{ env.PGTAG }} | ||
path: postgresql | ||
- name: Setup prerequisites | ||
run: bash ./orioledb/ci/prerequisites.sh | ||
- name: Build | ||
run: bash ./orioledb/ci/build.sh | ||
- name: Static analysis | ||
run: bash ./orioledb/ci/static.sh |
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
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
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
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
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