-
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.
- Update `cmake_minimum_required` - Fix windows tests - Fix install for shared library. Static is still weird because it requires installing dependencies - Change `SonarCloud` for `Qodana` - Changed coverage test to use `gcov` - Removed the `set(CMAKE_BUILD_TYPE)`. Instead it should be set via preset or manually, or let the system decide. Can interfere with `cmake --install` and other processes - Simplified packit configuration - Added `renovate` as dependency tracker Closes #11
- Loading branch information
Showing
41 changed files
with
375 additions
and
359 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 |
---|---|---|
@@ -1,7 +1,17 @@ | ||
summary: | ||
Test the bundled ctests | ||
summary: Test the bundled ctests | ||
|
||
prepare: | ||
- how: install | ||
package: | ||
- cmake | ||
- gcc-c++ | ||
- git | ||
- cmake(Catch2) | ||
- pkgconf | ||
|
||
discover+: | ||
how: fmf | ||
path: test | ||
path: . | ||
test: /test/ctest | ||
execute: | ||
how: tmt |
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,7 @@ | ||
adjust+: | ||
# Cannot use initiator: fedora-ci reliably yet | ||
when: initiator is not defined or initiator != packit | ||
discover+: | ||
how: fmf | ||
dist-git-source: true | ||
dist-git-extract: json-type-*/ |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,5 +1,10 @@ | ||
plan: | ||
import: | ||
url: https://github.com/packit/tmt-plans | ||
ref: main | ||
name: /plans/rpmlint | ||
prepare: | ||
- how: shell | ||
script: cp ./*.rpmlintrc $TMT_PLAN_DATA/ | ||
discover: | ||
how: fmf | ||
filter: "tag: rpmlint" | ||
url: https://github.com/packit/tmt-plans | ||
ref: main | ||
execute: | ||
how: tmt |
File renamed without changes.
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,17 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"packageRules": [ | ||
{ | ||
"groupName": "CI and devDependencies", | ||
"matchManagers": ["github-actions", "pre-commit", "pep621"] | ||
} | ||
], | ||
"separateMajorMinor": false, | ||
"extends": [ | ||
"config:recommended", | ||
":dependencyDashboard", | ||
"schedule:weekly", | ||
":enablePreCommit", | ||
":semanticCommitTypeAll(chore)" | ||
] | ||
} |
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 |
---|---|---|
@@ -1,83 +1,58 @@ | ||
specfile_path: .distro/cmake-template.spec | ||
|
||
# add or remove files that should be synced | ||
files_to_sync: | ||
- src: .distro/cmake-template.spec | ||
dest: cmake-template.spec | ||
- .packit.yaml | ||
- src: .distro/cmake-template.rpmlintrc | ||
dest: cmake-template.rpmlintrc | ||
# tmt setup | ||
- src: .distro/.fmf/ | ||
dest: .fmf/ | ||
- src: .distro/plans/ | ||
dest: plans/ | ||
- src: .distro/ | ||
dest: ./ | ||
delete: true | ||
filters: | ||
- "- main.fmf.dist-git" | ||
- "- rpminspect.fmf" | ||
- "- rpmlint.fmf" | ||
- src: .distro/plans/main.fmf.dist-git | ||
dest: plans/main.fmf | ||
- "protect .git*" | ||
- "protect sources" | ||
- "protect changelog" | ||
- "- plans/rpminspect.fmf" | ||
- "- plans/rpmlint.fmf" | ||
- .packit.yaml | ||
|
||
specfile_path: .distro/cmake-template.spec | ||
upstream_package_name: CMake-Template | ||
downstream_package_name: cmake-template | ||
|
||
update_release: false | ||
upstream_tag_template: v{version} | ||
|
||
targets: &targets | ||
- fedora-all-x86_64 | ||
- fedora-all-aarch64 | ||
- epel-10-x86_64 | ||
- epel-10-aarch64 | ||
- epel-9-x86_64 | ||
- epel-9-aarch64 | ||
|
||
jobs: | ||
- job: copr_build | ||
- &copr_build | ||
job: copr_build | ||
trigger: pull_request | ||
owner: lecris | ||
project: cmake-template | ||
targets: | ||
- fedora-38-x86_64 | ||
- fedora-38-aarch64 | ||
- fedora-development-x86_64 | ||
- fedora-development-aarch64 | ||
- job: tests | ||
- &tests | ||
job: tests | ||
trigger: pull_request | ||
targets: | ||
- fedora-38-x86_64 | ||
- fedora-38-aarch64 | ||
- fedora-development-x86_64 | ||
- fedora-development-aarch64 | ||
fmf_path: .distro | ||
- job: copr_build | ||
- <<: *copr_build | ||
trigger: commit | ||
branch: main | ||
owner: lecris | ||
project: nightly | ||
targets: | ||
- fedora-38-x86_64 | ||
- fedora-38-aarch64 | ||
- fedora-development-x86_64 | ||
- fedora-development-aarch64 | ||
additional_repos: | ||
- copr://@scikit-build/release | ||
- job: tests | ||
- <<: *tests | ||
trigger: commit | ||
branch: main | ||
targets: | ||
- fedora-38-x86_64 | ||
- fedora-38-aarch64 | ||
- fedora-development-x86_64 | ||
- fedora-development-aarch64 | ||
fmf_path: .distro | ||
## Uncomment when released downstream | ||
# - job: propose_downstream | ||
# trigger: release | ||
# dist_git_branches: | ||
# - fedora-rawhide | ||
# - epel-9 | ||
# - job: koji_build | ||
# trigger: commit | ||
# dist_git_branches: | ||
# - fedora-all | ||
# - epel-9 | ||
# - job: bodhi_update | ||
# trigger: commit | ||
# dist_git_branches: | ||
# - fedora-branched | ||
# - epel-9 | ||
- <<: *copr_build | ||
trigger: release | ||
owner: lecris | ||
project: release | ||
- <<: *tests | ||
trigger: release | ||
- job: propose_downstream | ||
trigger: release | ||
dist_git_branches: | ||
- fedora-rawhide | ||
- job: koji_build | ||
trigger: commit | ||
dist_git_branches: | ||
- fedora-all | ||
- job: bodhi_update | ||
trigger: commit | ||
dist_git_branches: | ||
- fedora-branched |
Oops, something went wrong.