-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into defs_cleanup
- Loading branch information
Showing
275 changed files
with
35,334 additions
and
36,403 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Codacy clang-tidy | ||
|
||
on: | ||
push: | ||
branches: [ '**'] | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [ master ] | ||
workflow_dispatch: ~ | ||
|
||
jobs: | ||
ubuntu: | ||
name: ubuntu Build | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- IMAGE: 'jammy' | ||
CMAKE_PREFIX_PATH: '/usr/lib/x86_64-linux-gnu/cmake/Qt5' | ||
SCRIPT: './tools/ci_run_tidy.sh' | ||
container: | ||
image: gpsbabel-docker.jfrog.io/tsteven4/gpsbabel_build_environment_${{ matrix.IMAGE }} | ||
env: | ||
LC_ALL: 'C.UTF-8' | ||
JOB_CMAKE_PREFIX_PATH: ${{ matrix.CMAKE_PREFIX_PATH }} | ||
JOB_SCRIPT: ${{ matrix.SCRIPT }} | ||
JOB_CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }} | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: build_and_test | ||
run: | | ||
# when using containers manually whitelist the checkout directory to allow git commands to work | ||
git config --global --add safe.directory "${GITHUB_WORKSPACE}" | ||
if [ -n "${JOB_CMAKE_PREFIX_PATH}" ]; then | ||
CMAKE_PREFIX_PATH="${JOB_CMAKE_PREFIX_PATH}" | ||
export CMAKE_PREFIX_PATH | ||
fi | ||
if [ -n "${JOB_CODACY_PROJECT_TOKEN}" ]; then | ||
CODACY_PROJECT_TOKEN="${JOB_CODACY_PROJECT_TOKEN}" | ||
export CODACY_PROJECT_TOKEN | ||
fi | ||
"${JOB_SCRIPT}" | ||
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,59 @@ | ||
name: "gendocs" | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
schedule: | ||
- cron: '27 4 * * 2' | ||
workflow_dispatch: | ||
inputs: | ||
docversion: | ||
required: false | ||
type: string | ||
default: 'development' | ||
|
||
jobs: | ||
ubuntu: | ||
name: ubuntu Build | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- IMAGE: 'jammy' | ||
CMAKE_PREFIX_PATH: '/usr/lib/x86_64-linux-gnu/cmake/Qt6' | ||
SCRIPT: './tools/build_and_test_cmake.sh' | ||
RELEASE: true | ||
container: | ||
image: gpsbabel-docker.jfrog.io/tsteven4/gpsbabel_build_environment_${{ matrix.IMAGE }} | ||
env: | ||
LC_ALL: 'C.UTF-8' | ||
JOB_CMAKE_PREFIX_PATH: ${{ matrix.CMAKE_PREFIX_PATH }} | ||
JOB_SCRIPT: ${{ matrix.SCRIPT }} | ||
JOB_DOCVERSION: ${{ inputs.docversion }} | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: build_and_test | ||
run: | | ||
# when using containers manually whitelist the checkout directory to allow git commands to work | ||
git config --global --add safe.directory "${GITHUB_WORKSPACE}" | ||
if [ -n "${JOB_CMAKE_PREFIX_PATH}" ]; then | ||
CMAKE_PREFIX_PATH="${JOB_CMAKE_PREFIX_PATH}" | ||
export CMAKE_PREFIX_PATH | ||
fi | ||
"${JOB_SCRIPT}" "${JOB_DOCVERSION:-development}" | ||
- name: 'Upload Artifacts' | ||
if: matrix.RELEASE | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: Documents | ||
path: | | ||
gpsbabel.org/ | ||
gpsbabel.pdf | ||
gpsbabel.html | ||
docbook.css | ||
retention-days: 7 |
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
Oops, something went wrong.