Skip to content

Commit

Permalink
build.yml: build for different releases
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSchinnerl committed Feb 9, 2024
1 parent d2b4db7 commit 4e345f0
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 3 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,14 @@ on:
jobs:
build:
runs-on: ubuntu-latest
container: debian:stable
strategy:
matrix:
distro: [
'debian:bookworm', 'debian:bullseye', 'debian:buster', 'debian:stable',
'ubuntu:focal', 'ubuntu:jammy', 'ubuntu:mantic', 'ubuntu:noble', 'ubuntu:latest'
]
container:
image: ${{ matrix.distro }}
steps:
- name: Store input in env
run: |
Expand Down Expand Up @@ -122,8 +129,10 @@ jobs:
done
- name: Add packages to repository
shell: bash
run: |
reprepro -Vb ./debian includedeb stable *.deb
IFS=':' read -r -a parts <<< "${{ matrix.distro }}"
reprepro -Vb ./${parts[0]} includedeb ${parts[1]} *.deb
- name: Clean up
run: |
Expand Down
20 changes: 19 additions & 1 deletion debian/conf/distributions
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,22 @@ Codename: stable
Architectures: amd64 arm64
Components: main
Description: The official home of Sia's Debian packages
SignWith: yes
SignWith: yes

Codename: bookworm
Architectures: amd64 arm64
Components: main
Description: The official home of Sia's Debian packages
SignWith: yes

Codename: bullseye
Architectures: amd64 arm64
Components: main
Description: The official home of Sia's Debian packages
SignWith: yes

Codename: buster
Architectures: amd64 arm64
Components: main
Description: The official home of Sia's Debian packages
SignWith: yes
29 changes: 29 additions & 0 deletions ubuntu/conf/distributions
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
Codename: latest
Architectures: amd64 arm64
Components: main
Description: The official home of Sia's Ubuntu packages
SignWith: yes

Codename: focal
Architectures: amd64 arm64
Components: main
Description: The official home of Sia's Ubuntu packages
SignWith: yes

Codename: jammy
Architectures: amd64 arm64
Components: main
Description: The official home of Sia's Ubuntu packages
SignWith: yes

Codename: mantic
Architectures: amd64 arm64
Components: main
Description: The official home of Sia's Ubuntu packages
SignWith: yes

Codename: noble
Architectures: amd64 arm64
Components: main
Description: The official home of Sia's Ubuntu packages
SignWith: yes

0 comments on commit 4e345f0

Please sign in to comment.