Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add Ubuntu 24.04 (noble) #1

Merged
merged 1 commit into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
needs: [build]
strategy:
matrix:
dist: [jammy, focal]
dist: [noble, jammy, focal]
host: [armhf, arm64, amd64]
fail-fast: false
steps:
Expand All @@ -101,6 +101,8 @@ jobs:
- run: cp -a packaging/${{ matrix.dist }} debian
working-directory: src
- run: sudo apt update
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- run: sudo apt install -y sbuild ubuntu-dev-tools debhelper
- run: sudo sbuild-adduser $USER
- name: Setup tmpfs overlay
Expand Down Expand Up @@ -214,12 +216,17 @@ jobs:
mkdir -p ${{ env.BASEDIR }}/ubuntu/dists/focal/main/{binary-amd64,binary-arm64,binary-armhf}
mkdir -p ${{ env.BASEDIR }}/ubuntu/dists/jammy/pool
mkdir -p ${{ env.BASEDIR }}/ubuntu/dists/jammy/main/{binary-amd64,binary-arm64,binary-armhf}
mkdir -p ${{ env.BASEDIR }}/ubuntu/dists/noble/pool
mkdir -p ${{ env.BASEDIR }}/ubuntu/dists/noble/main/{binary-amd64,binary-arm64,binary-armhf}
mv debs/deb-focal-amd64/* ${{ env.BASEDIR }}/ubuntu/dists/focal/pool/
mv debs/deb-focal-arm64/* ${{ env.BASEDIR }}/ubuntu/dists/focal/pool/
mv debs/deb-focal-armhf/* ${{ env.BASEDIR }}/ubuntu/dists/focal/pool/
mv debs/deb-jammy-amd64/* ${{ env.BASEDIR }}/ubuntu/dists/jammy/pool/
mv debs/deb-jammy-arm64/* ${{ env.BASEDIR }}/ubuntu/dists/jammy/pool/
mv debs/deb-jammy-armhf/* ${{ env.BASEDIR }}/ubuntu/dists/jammy/pool/
mv debs/deb-noble-amd64/* ${{ env.BASEDIR }}/ubuntu/dists/noble/pool/
mv debs/deb-noble-arm64/* ${{ env.BASEDIR }}/ubuntu/dists/noble/pool/
mv debs/deb-noble-armhf/* ${{ env.BASEDIR }}/ubuntu/dists/noble/pool/
- name: Generate deb repository
working-directory: ${{ env.BASEDIR }}/ubuntu
run: |
Expand All @@ -229,6 +236,9 @@ jobs:
dpkg-scanpackages -m -a amd64 dists/jammy/pool > dists/jammy/main/binary-amd64/Packages
dpkg-scanpackages -m -a arm64 dists/jammy/pool > dists/jammy/main/binary-arm64/Packages
dpkg-scanpackages -m -a armhf dists/jammy/pool > dists/jammy/main/binary-armhf/Packages
dpkg-scanpackages -m -a amd64 dists/noble/pool > dists/noble/main/binary-amd64/Packages
dpkg-scanpackages -m -a arm64 dists/noble/pool > dists/noble/main/binary-arm64/Packages
dpkg-scanpackages -m -a armhf dists/noble/pool > dists/noble/main/binary-armhf/Packages
- name: Download rpm Artifacts
uses: actions/download-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion packaging/noble/control
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Description: Amazing Lucky Numbers Library
Package: libaln-dev
Architecture: any
Section: libdevel
Depends: ${shlibs:Depends}, ${misc:Depends}, libaln0, libglib2.0-dev
Depends: ${shlibs:Depends}, ${misc:Depends}, libaln0 (= ${binary:Version}), libglib2.0-dev
Description: Amazing Lucky Numbers Library (development files)
A library for generating amazing lucky numbers.

Expand Down