-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #112 from myriadrf/develop
Update stable branch for tagged release
- Loading branch information
Showing
437 changed files
with
14,404 additions
and
117,446 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
name: Packaging | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
env: | ||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | ||
BUILD_TYPE: Release | ||
CMAKE_BUILD_PARALLEL_LEVEL: 2 | ||
CMAKE_OPTIONS: | ||
|
||
jobs: | ||
debian: | ||
name: Package Debian | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-24.04, ubuntu-22.04] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
# need subdirectory, because building packages will place them one directory up | ||
with: | ||
path: 'source' | ||
|
||
- name: Install GNURadio | ||
if: ${{ matrix.os != 'ubuntu-20.04'}} # 20.04 has GNURadio 3.8.1, it's python bindings are not using pybind11, so not compatible | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -qq gnuradio-dev devscripts | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install debhelper dh-python dkms | ||
sudo ${{github.workspace}}/source/install_dependencies.sh | ||
# dh-dkms was split into separate package | ||
- name: Install dh-dkms | ||
if: ${{ matrix.os == 'ubuntu-24.04'}} | ||
run: | | ||
sudo apt-get install dh-dkms | ||
- name: Set Debian variables | ||
run: | | ||
cd ${{github.workspace}}/source | ||
source /etc/os-release | ||
export DEBFULLNAME="Lime Microsystems" | ||
export DEBEMAIL="[email protected]" | ||
echo "ubuntu_codename=$UBUNTU_CODENAME" >> $GITHUB_ENV | ||
cd debian | ||
./set_debian_changelog_codenames.sh $UBUNTU_CODENAME | ||
- name: Build | ||
run: | | ||
cd ${{github.workspace}}/source | ||
export DEB_BUILD_OPTIONS="noautodbgsym" | ||
export SOURCE_DATE_EPOCH=$(git log -1 --format=%ct) | ||
dpkg-buildpackage --no-sign | ||
- name: Archive packaging artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ${{ env.ubuntu_codename }} | ||
retention-days: 2 | ||
path: | | ||
${{github.workspace}}/*.tar.xz | ||
${{github.workspace}}/*.dsc | ||
${{github.workspace}}/*.deb | ||
${{github.workspace}}/*.ddeb |
Oops, something went wrong.