Skip to content

Commit

Permalink
Issue-150 - rpm packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
morisja committed Nov 23, 2024
1 parent 81615a8 commit 8afde21
Show file tree
Hide file tree
Showing 3 changed files with 653 additions and 9 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,35 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}


build-rpm-package:
runs-on: ubuntu-latest
container: debian:11

steps:
- uses: actions/checkout@v4
with:
path: clone
- name: Install dependencies
run: |
apt-get update
apt-get install -y build-essential dpkg-dev ca-certificates sudo curl
cd clone
apt-get build-dep -y .
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: ${{ github.event.schedule && 'nightly' || 'stable' }}
- name: Build package
run: |
debian/rules vendor
cargo generate-rpm
working-directory: clone
- uses: actions/upload-artifact@v3
with:
name: rpm-package
path: |
./*
!./clone/**
build-debian-package-11:
runs-on: ubuntu-latest
container: debian:11
Expand Down
Loading

0 comments on commit 8afde21

Please sign in to comment.