Skip to content

pkg: fix deb package building and extend CI #15

pkg: fix deb package building and extend CI

pkg: fix deb package building and extend CI #15

Workflow file for this run

name: Build packages
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLORS: always
jobs:
build-rpm-pkgs:
name: Build rpm packages
runs-on: ubuntu-latest
container: fedora:latest
strategy:
matrix:
dist-version: [rocky-9-x86_64, fedora-40-x86_64]
fail-fast: false
steps:
# See: https://github.com/actions/checkout/issues/363
# An issue related to GH actions containers
- name: Install git and update safe directory
run: |
dnf update
dnf install -y git
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: Checkout
uses: actions/checkout@v4
- name: Build rpm package for ${{ matrix.dist-version }}
run: ./dist/redhat/build_rpm.sh --target ${{ matrix.dist-version }}
build-deb-pkgs:
name: Build deb packages
runs-on: ubuntu-latest
strategy:
matrix:
dist-version: [jammy, noble]
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build deb package for ${{ matrix.dist-version }}
run: ./dist/debian/build_deb.sh --target ${{ matrix.dist-version }}