mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-11 22:10:09 +01:00
ci: add rpm package
This commit is contained in:
parent
834eae11dd
commit
4a596818d9
2 changed files with 18 additions and 2 deletions
12
.github/workflows/build.yaml
vendored
12
.github/workflows/build.yaml
vendored
|
|
@ -22,17 +22,21 @@ jobs:
|
|||
- os: ubuntu-latest
|
||||
target: x86_64-unknown-linux-gnu
|
||||
deb: true
|
||||
rpm: true
|
||||
- os: ubuntu-latest
|
||||
target: i686-unknown-linux-gnu
|
||||
deb: true
|
||||
rpm: true
|
||||
cross: true
|
||||
- os: ubuntu-latest
|
||||
target: aarch64-unknown-linux-gnu
|
||||
deb: true
|
||||
rpm: true
|
||||
cross: true
|
||||
- os: ubuntu-latest
|
||||
target: armv7-unknown-linux-gnueabihf
|
||||
deb: true
|
||||
rpm: true
|
||||
cross: true
|
||||
- os: ubuntu-latest
|
||||
target: aarch64-linux-android
|
||||
|
|
@ -81,9 +85,14 @@ jobs:
|
|||
if: ${{ matrix.deb == true }}
|
||||
run: |
|
||||
cargo install cargo-deb --locked
|
||||
cp LICENSE target/${{ matrix.target }}/release
|
||||
cargo deb -p pay-respects --no-build --no-strip --output . --target ${{ matrix.target }}
|
||||
|
||||
- name: package rpm
|
||||
if: ${{ matrix.rpm == true }}
|
||||
run: |
|
||||
cargo install cargo-generate-rpm --locked
|
||||
cargo rpm -p pay-respects -o . --target ${{ matrix.target }}
|
||||
|
||||
- name: zipping files (unix)
|
||||
if: runner.os != 'Windows'
|
||||
run: >
|
||||
|
|
@ -110,6 +119,7 @@ jobs:
|
|||
*.tar.zst
|
||||
*.zip
|
||||
*.deb
|
||||
*.rpm
|
||||
allowUpdates: true
|
||||
makeLatest: true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue