Bump version to 1.4.0 and add to changelog #26
Workflow file for this run
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
name: Build RPM Package | |
on: | |
push: | |
tags: | |
- '[0-9]+.[0-9]+.[0-9]+' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: fedora:38 | |
steps: | |
- name: Install git | |
run: | | |
dnf install -y git | |
- uses: actions/checkout@v3 | |
with: | |
submodules: "recursive" | |
fetch-depth: 0 | |
- name: Workaround for unsafe repo git error | |
run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
- name: Check CMakeLists version matches tag | |
run: .packaging/scripts/check-version-tag.sh $GITHUB_REF_NAME | |
- name: Install rpmbuild dependencies | |
run: | | |
dnf install -y \ | |
coreutils \ | |
dnf-utils \ | |
rpm-build \ | |
rpm-devel \ | |
rpmdevtools \ | |
rpmlint | |
- name: Install gr-dvbs2rx build dependencies | |
run: | | |
dnf install -y \ | |
doxygen \ | |
fftw-devel \ | |
g++ \ | |
git \ | |
gmp-devel \ | |
gnuradio-devel \ | |
graphviz \ | |
libsndfile-devel \ | |
pybind11-devel \ | |
spdlog-devel | |
- name: Build RPM package | |
run: .packaging/scripts/pkg-rpm.sh | |
- name: Upload results | |
uses: actions/upload-artifact@v3 | |
with: | |
name: RPM Packages | |
path: ~/rpmbuild/RPMS/**/*.rpm |