Repository navigation
Conversation
NicuS03
left a comment
There was a problem hiding this comment.
The new deb names no longer include the distro. The release script moves every build's files into one folder, so same-named debs overwrite each other: 17 builds end up as about 5 debs. We need to find a better strategy here (i think we will use '~' in version to specify different versions
Also please use fixed SHA instead of tags for actions
|
|
||
| Linux-Debian-12/libiio-@VERSION@.g@LIBIIO_VERSION_GIT@-Linux-Debian-12.deb | ||
| Linux-Debian-12/libiio-@VERSION@.g@LIBIIO_VERSION_GIT@-Linux-Debian-12.tar.gz | ||
| Linux-Debian-12/libiio_@VERSION@-1_amd64.deb |
There was a problem hiding this comment.
I don't exactly know what this is used for, but I saw that the .tar.gz was also here (the sources), shouldn't also the .orig.tar.gz and .dsc be here ?
| -e IGNORE_PATH="shared-actions" \ | ||
| "${{ matrix.image }}" sleep infinity | ||
| docker exec builder bash -c "apt-get update && apt-get install -y curl" | ||
| docker exec builder bash shared-actions/deb-generator-action/build-deb.sh |
There was a problem hiding this comment.
Something is strange here. In the logs, the linter have a lot of errors: https://github.com/analogdevicesinc/libiio/actions/runs/41023411654/job/123955851613?pr=1610#step:7:1763. Can you take a look at those to see why ? I am more concerned about custom-library-search-path RUNPATH but the other error should also be investigated. (Please check the other runs)
95aa0d1 to
ee0b344
Compare
5dd8a2f to
3c3f7aa
Compare
Signed-off-by: Alin Opris <alin.opris@analog.com>
Configure arm-builds and linux-builds to use the deb-generator-action instead of generating deb packages with cmake. Adapt the artifact_manifest.txt.cmakein with the new naming of the packages. Signed-off-by: Alin Opis <alin.opris@analog.com>
Correct the Debian copyright file to use LGPL-2.1+. Add MIT license headers to the ARM and Linux build workflows. Signed-off-by: Alin Opris <alin.opris@analog.com>
The new version of the deb-builder shared action requires distro-version as an input to generate the Debian package name correctly. Also update the maintainer name from EngineeringZone to Analog Devices Maintainers Signed-off-by: Alin Opris <alin.opris@analog.com>
Versioned Provides so reverse-deps with versioned constraints on libiio/-dev/-utils/iiod resolve. Exclude the CMake build/ dir so it stays out of the orig tarball. Signed-off-by: Alin Opris <alin.opris@analog.com>
Adapt rules and control files for generating c, c# and python bindings as separated deb pacakges. Signed-off-by: Alin Opris <alin.opris@analog.com>
Signed-off-by: Alin Opris <alin.opris@analog.com>
3c3f7aa to
5f946b5
Compare
| fetch-depth: 1 | ||
|
|
||
| - name: Build | ||
| - uses: actions/checkout@v7 |
|
|
||
| - name: Upload artifacts | ||
| if: matrix.deb | ||
| uses: actions/upload-artifact@v7 |
Summary
Switches the Linux and ARM CI builds from building .deb packages via make package (CPack) to the shared deb-generator-action (https://github.com/analogdevicesinc/shared-actions/tree/main/deb-generator-action). This gives us proper Debian packaging driven by standard debhelper files instead of CMake/CPack-generated packages.
Changes
Add packaging/debian/ with standard debhelper files:
Configure the workflows to use the action: