| 1 | specfile_path: package/fedora/freecad.spec |
| 2 | files_to_sync: |
| 3 | - .packit.yaml |
| 4 | actions: |
| 5 | post-upstream-clone: |
| 6 | - bash -c '/usr/bin/python3 package/scripts/write_version_info.py freecad_version.txt' |
| 7 | - rm -f freecad-sources.tar.gz |
| 8 | changelog-entry: |
| 9 | - bash -c 'git log --no-merges --pretty="format:- %s (%an)" $(git describe --tags --abbrev=0 )..HEAD -- |sed 's/%/%%/g'' |
| 10 | create-archive: |
| 11 | - git submodule update --init |
| 12 | - bash -c 'git ls-files --recurse-submodules | tar -caf freecad-sources.tar.gz -T-' |
| 13 | - echo -n 'freecad-sources.tar.gz' |
| 14 | downstream_package_name: freecad |
| 15 | additional_packages: |
| 16 | - python3 |
| 17 | |
| 18 | jobs: |
| 19 | - job: copr_build |
| 20 | identifier: pull_request |
| 21 | trigger: pull_request |
| 22 | notifications: |
| 23 | pull_request: |
| 24 | successful_build: True |
| 25 | branch: main |
| 26 | additional_repos: |
| 27 | - copr://bpostle/IfcOpenShell |
| 28 | manual_trigger: true |
| 29 | targets: |
| 30 | fedora-stable: |
| 31 | without_opts: |
| 32 | - debug_info |
| 33 | fedora-development: |
| 34 | without_opts: |
| 35 | - debug_info |
| 36 | |
| 37 | - job: tests |
| 38 | identifier: pull_request |
| 39 | trigger: pull_request |
| 40 | branch: main |
| 41 | manual_trigger: true |
| 42 | targets: |
| 43 | fedora-latest-stable: |
| 44 | without_opts: |
| 45 | - debug_info |
| 46 | fmf_path: package/fedora/tests |
| 47 | |
| 48 | - job: copr_build |
| 49 | identifier: main |
| 50 | trigger: commit |
| 51 | manual_trigger: true |
| 52 | branch: main |
| 53 | additional_repos: |
| 54 | - copr://bpostle/IfcOpenShell |
| 55 | owner: freecad |
| 56 | project: nightly |
| 57 | |
| 58 | - job: copr_build |
| 59 | identifier: release |
| 60 | trigger: release |
| 61 | owner: freecad |
| 62 | project: freecad |
| 63 | additional_repos: |
| 64 | - copr://bpostle/IfcOpenShell |
| 65 | targets: |
| 66 | fedora-all: |
| 67 | without_opts: |
| 68 | - tests |