mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Cleanup APT-builds
This commit is contained in:
parent
49b83abcdf
commit
06091b0786
5
.github/workflows/apt.yml
vendored
5
.github/workflows/apt.yml
vendored
@ -20,8 +20,9 @@ jobs:
|
|||||||
- name: Set APT matrix
|
- name: Set APT matrix
|
||||||
id: apt-ppa
|
id: apt-ppa
|
||||||
run: |
|
run: |
|
||||||
APT=$(jq -n '.include |= [inputs[]]' .github/workflows/apt/*.json --compact-output)
|
APT=$(jq -n '.include |= [ inputs[] | select(.["exclude"] != true)]' .github/workflows/apt/*.json --compact-output)
|
||||||
echo "::set-output name=apt::$APT"
|
echo "apt=$APT" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
apt-matrix: ${{ steps.apt-ppa.outputs.apt }}
|
apt-matrix: ${{ steps.apt-ppa.outputs.apt }}
|
||||||
|
|
||||||
|
10
.github/workflows/apt/amd64.json
vendored
10
.github/workflows/apt/amd64.json
vendored
@ -15,14 +15,6 @@
|
|||||||
"cmake-environment": "-DUSE_SYSTEM_MBEDTLS_LIBS=ON -DENABLE_DEPLOY_DEPENDENCIES=OFF -DCMAKE_BUILD_TYPE=Release",
|
"cmake-environment": "-DUSE_SYSTEM_MBEDTLS_LIBS=ON -DENABLE_DEPLOY_DEPENDENCIES=OFF -DCMAKE_BUILD_TYPE=Release",
|
||||||
"description": "Ubuntu 20.04 (Focal Fossa) (amd64)"
|
"description": "Ubuntu 20.04 (Focal Fossa) (amd64)"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"distribution": "Impish",
|
|
||||||
"architecture": "amd64",
|
|
||||||
"build-depends": "git, cmake, build-essential, qtbase5-dev, libqt5serialport5-dev, libqt5sql5-sqlite, libqt5svg5-dev, libqt5x11extras5-dev, libusb-1.0-0-dev, python3-dev, libcec-dev, libxcb-image0-dev, libxcb-util0-dev, libxcb-shm0-dev, libxcb-render0-dev, libxcb-randr0-dev, libxrandr-dev, libxrender-dev, libturbojpeg0-dev, libjpeg-dev, libssl-dev, libmbedtls-dev",
|
|
||||||
"package-depends": "libpython3.9, libusb-1.0-0, libqt5widgets5, libqt5x11extras5, libqt5sql5, libqt5sql5-sqlite, libqt5serialport5, libmbedtls12, libturbojpeg, libcec6",
|
|
||||||
"cmake-environment": "-DUSE_SYSTEM_MBEDTLS_LIBS=ON -DENABLE_DEPLOY_DEPENDENCIES=OFF -DCMAKE_BUILD_TYPE=Release",
|
|
||||||
"description": "Ubuntu 21.10 (Impish Indri) (amd64)"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"distribution": "Jammy",
|
"distribution": "Jammy",
|
||||||
"architecture": "amd64",
|
"architecture": "amd64",
|
||||||
@ -38,7 +30,7 @@
|
|||||||
"package-depends": "libpython3.10, libusb-1.0-0, libqt5widgets5, libqt5x11extras5, libqt5sql5, libqt5sql5-sqlite, libqt5serialport5, libmbedtls14, libturbojpeg, libcec6",
|
"package-depends": "libpython3.10, libusb-1.0-0, libqt5widgets5, libqt5x11extras5, libqt5sql5, libqt5sql5-sqlite, libqt5serialport5, libmbedtls14, libturbojpeg, libcec6",
|
||||||
"cmake-environment": "-DUSE_SYSTEM_MBEDTLS_LIBS=ON -DENABLE_DEPLOY_DEPENDENCIES=OFF -DCMAKE_BUILD_TYPE=Release",
|
"cmake-environment": "-DUSE_SYSTEM_MBEDTLS_LIBS=ON -DENABLE_DEPLOY_DEPENDENCIES=OFF -DCMAKE_BUILD_TYPE=Release",
|
||||||
"description": "Ubuntu 22.10 (Kinetic Kudu) (amd64)"
|
"description": "Ubuntu 22.10 (Kinetic Kudu) (amd64)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"distribution": "Stretch",
|
"distribution": "Stretch",
|
||||||
"architecture": "amd64",
|
"architecture": "amd64",
|
||||||
|
23
.github/workflows/apt/arm64.json
vendored
23
.github/workflows/apt/arm64.json
vendored
@ -16,12 +16,20 @@
|
|||||||
"description": "Ubuntu 20.04 (Focal Fossa) (arm64)"
|
"description": "Ubuntu 20.04 (Focal Fossa) (arm64)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"distribution": "Impish",
|
"distribution": "Jammy",
|
||||||
"architecture": "arm64",
|
"architecture": "arm64",
|
||||||
"build-depends": "git, cmake, build-essential, qtbase5-dev, libqt5serialport5-dev, libqt5sql5-sqlite, libqt5svg5-dev, libqt5x11extras5-dev, libusb-1.0-0-dev, python3-dev, libcec-dev, libxcb-image0-dev, libxcb-util0-dev, libxcb-shm0-dev, libxcb-render0-dev, libxcb-randr0-dev, libxrandr-dev, libxrender-dev, libturbojpeg0-dev, libjpeg-dev, libssl-dev, libmbedtls-dev",
|
"build-depends": "git, cmake, build-essential, qtbase5-dev, libqt5serialport5-dev, libqt5sql5-sqlite, libqt5svg5-dev, libqt5x11extras5-dev, libusb-1.0-0-dev, python3-dev, libcec-dev, libxcb-image0-dev, libxcb-util0-dev, libxcb-shm0-dev, libxcb-render0-dev, libxcb-randr0-dev, libxrandr-dev, libxrender-dev, libturbojpeg0-dev, libjpeg-dev, libssl-dev, libmbedtls-dev",
|
||||||
"package-depends": "libpython3.9, libusb-1.0-0, libqt5widgets5, libqt5x11extras5, libqt5sql5, libqt5sql5-sqlite, libqt5serialport5, libmbedtls12, libturbojpeg, libcec6",
|
"package-depends": "libpython3.10, libusb-1.0-0, libqt5widgets5, libqt5x11extras5, libqt5sql5, libqt5sql5-sqlite, libqt5serialport5, libmbedtls14, libturbojpeg, libcec6",
|
||||||
"cmake-environment": "-DENABLE_DISPMANX=OFF -DENABLE_X11=ON -DENABLE_XCB=ON -DUSE_SYSTEM_MBEDTLS_LIBS=ON -DENABLE_DEPLOY_DEPENDENCIES=OFF -DCMAKE_BUILD_TYPE=Release",
|
"cmake-environment": "-DENABLE_DISPMANX=OFF -DENABLE_X11=ON -DENABLE_XCB=ON -DUSE_SYSTEM_MBEDTLS_LIBS=ON -DENABLE_DEPLOY_DEPENDENCIES=OFF -DCMAKE_BUILD_TYPE=Release",
|
||||||
"description": "Ubuntu 21.10 (Impish Indri) (arm64)"
|
"description": "Ubuntu 22.04 (Jammy Jellyfish) (arm64)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"distribution": "Kinetic",
|
||||||
|
"architecture": "arm64",
|
||||||
|
"build-depends": "git, cmake, build-essential, qtbase5-dev, libqt5serialport5-dev, libqt5sql5-sqlite, libqt5svg5-dev, libqt5x11extras5-dev, libusb-1.0-0-dev, python3-dev, libcec-dev, libxcb-image0-dev, libxcb-util0-dev, libxcb-shm0-dev, libxcb-render0-dev, libxcb-randr0-dev, libxrandr-dev, libxrender-dev, libturbojpeg0-dev, libjpeg-dev, libssl-dev, libmbedtls-dev",
|
||||||
|
"package-depends": "libpython3.10, libusb-1.0-0, libqt5widgets5, libqt5x11extras5, libqt5sql5, libqt5sql5-sqlite, libqt5serialport5, libmbedtls14, libturbojpeg, libcec6",
|
||||||
|
"cmake-environment": "-DENABLE_DISPMANX=OFF -DENABLE_X11=ON -DENABLE_XCB=ON -DUSE_SYSTEM_MBEDTLS_LIBS=ON -DENABLE_DEPLOY_DEPENDENCIES=OFF -DCMAKE_BUILD_TYPE=Release",
|
||||||
|
"description": "Ubuntu 22.10 (Kinetic Kudu) (arm64)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"distribution": "Buster",
|
"distribution": "Buster",
|
||||||
@ -38,5 +46,14 @@
|
|||||||
"package-depends": "libpython3.9, libusb-1.0-0, libqt5widgets5, libqt5x11extras5, libqt5sql5, libqt5sql5-sqlite, libqt5serialport5, libmbedtls12, libturbojpeg0, libcec6",
|
"package-depends": "libpython3.9, libusb-1.0-0, libqt5widgets5, libqt5x11extras5, libqt5sql5, libqt5sql5-sqlite, libqt5serialport5, libmbedtls12, libturbojpeg0, libcec6",
|
||||||
"cmake-environment": "-DUSE_SYSTEM_MBEDTLS_LIBS=ON -DENABLE_DEPLOY_DEPENDENCIES=OFF -DCMAKE_BUILD_TYPE=Release",
|
"cmake-environment": "-DUSE_SYSTEM_MBEDTLS_LIBS=ON -DENABLE_DEPLOY_DEPENDENCIES=OFF -DCMAKE_BUILD_TYPE=Release",
|
||||||
"description": "Debian 11.x (Bullseye) (arm64)"
|
"description": "Debian 11.x (Bullseye) (arm64)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"distribution": "Bookworm",
|
||||||
|
"architecture": "arm64",
|
||||||
|
"build-depends": "git, cmake, python3-dev, qtbase5-dev, libqt5serialport5-dev, libqt5sql5-sqlite, libqt5svg5-dev, build-essential, libusb-1.0-0-dev, libcec-dev, libssl-dev, libraspberrypi-dev, libturbojpeg0-dev, libjpeg-dev, libmbedtls-dev",
|
||||||
|
"package-depends": "libpython3.9, libusb-1.0-0, libqt5widgets5, libqt5x11extras5, libqt5sql5, libqt5sql5-sqlite, libqt5serialport5, libmbedtls12, libturbojpeg0, libcec6",
|
||||||
|
"cmake-environment": "-DUSE_SYSTEM_MBEDTLS_LIBS=ON -DENABLE_DEPLOY_DEPENDENCIES=OFF -DCMAKE_BUILD_TYPE=Release",
|
||||||
|
"description": "Debian 12.x (Bookworm) (arm64)",
|
||||||
|
"exclude" : true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
17
.github/workflows/apt/armhf.json
vendored
17
.github/workflows/apt/armhf.json
vendored
@ -16,12 +16,20 @@
|
|||||||
"description": "Ubuntu 20.04 (Focal Fossa) (armhf)"
|
"description": "Ubuntu 20.04 (Focal Fossa) (armhf)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"distribution": "Impish",
|
"distribution": "Jammy",
|
||||||
"architecture": "armhf",
|
"architecture": "armhf",
|
||||||
"build-depends": "git, cmake, build-essential, qtbase5-dev, libqt5serialport5-dev, libqt5sql5-sqlite, libqt5svg5-dev, libqt5x11extras5-dev, libusb-1.0-0-dev, python3-dev, libcec-dev, libxcb-image0-dev, libxcb-util0-dev, libxcb-shm0-dev, libxcb-render0-dev, libxcb-randr0-dev, libxrandr-dev, libxrender-dev, libturbojpeg0-dev, libjpeg-dev, libssl-dev, libmbedtls-dev",
|
"build-depends": "git, cmake, build-essential, qtbase5-dev, libqt5serialport5-dev, libqt5sql5-sqlite, libqt5svg5-dev, libqt5x11extras5-dev, libusb-1.0-0-dev, python3-dev, libcec-dev, libxcb-image0-dev, libxcb-util0-dev, libxcb-shm0-dev, libxcb-render0-dev, libxcb-randr0-dev, libxrandr-dev, libxrender-dev, libturbojpeg0-dev, libjpeg-dev, libssl-dev, libmbedtls-dev",
|
||||||
"package-depends": "libpython3.9, libusb-1.0-0, libqt5widgets5, libqt5x11extras5, libqt5sql5, libqt5sql5-sqlite, libqt5serialport5, libmbedtls12, libturbojpeg, libcec6",
|
"package-depends": "libpython3.10, libusb-1.0-0, libqt5widgets5, libqt5x11extras5, libqt5sql5, libqt5sql5-sqlite, libqt5serialport5, libmbedtls14, libturbojpeg, libcec6",
|
||||||
"cmake-environment": "-DENABLE_DISPMANX=OFF -DENABLE_X11=ON -DENABLE_XCB=ON -DUSE_SYSTEM_MBEDTLS_LIBS=ON -DENABLE_DEPLOY_DEPENDENCIES=OFF -DCMAKE_BUILD_TYPE=Release",
|
"cmake-environment": "-DENABLE_DISPMANX=OFF -DENABLE_X11=ON -DENABLE_XCB=ON -DUSE_SYSTEM_MBEDTLS_LIBS=ON -DENABLE_DEPLOY_DEPENDENCIES=OFF -DCMAKE_BUILD_TYPE=Release",
|
||||||
"description": "Ubuntu 21.10 (Impish Indri) (armhf)"
|
"description": "Ubuntu 22.04 (Jammy Jellyfish) (armhf)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"distribution": "Kinetic",
|
||||||
|
"architecture": "armhf",
|
||||||
|
"build-depends": "git, cmake, build-essential, qtbase5-dev, libqt5serialport5-dev, libqt5sql5-sqlite, libqt5svg5-dev, libqt5x11extras5-dev, libusb-1.0-0-dev, python3-dev, libcec-dev, libxcb-image0-dev, libxcb-util0-dev, libxcb-shm0-dev, libxcb-render0-dev, libxcb-randr0-dev, libxrandr-dev, libxrender-dev, libturbojpeg0-dev, libjpeg-dev, libssl-dev, libmbedtls-dev",
|
||||||
|
"package-depends": "libpython3.10, libusb-1.0-0, libqt5widgets5, libqt5x11extras5, libqt5sql5, libqt5sql5-sqlite, libqt5serialport5, libmbedtls14, libturbojpeg, libcec6",
|
||||||
|
"cmake-environment": "-DENABLE_DISPMANX=OFF -DENABLE_X11=ON -DENABLE_XCB=ON -DUSE_SYSTEM_MBEDTLS_LIBS=ON -DENABLE_DEPLOY_DEPENDENCIES=OFF -DCMAKE_BUILD_TYPE=Release",
|
||||||
|
"description": "Ubuntu 22.10 (Kinetic Kudu) (armhf)"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"distribution": "Stretch",
|
"distribution": "Stretch",
|
||||||
@ -53,6 +61,7 @@
|
|||||||
"build-depends": "git, cmake, python3-dev, qtbase5-dev, libqt5serialport5-dev, libqt5sql5-sqlite, libqt5svg5-dev, build-essential, libusb-1.0-0-dev, libcec-dev, libssl-dev, libraspberrypi-dev, libturbojpeg0-dev, libjpeg-dev, libmbedtls-dev",
|
"build-depends": "git, cmake, python3-dev, qtbase5-dev, libqt5serialport5-dev, libqt5sql5-sqlite, libqt5svg5-dev, build-essential, libusb-1.0-0-dev, libcec-dev, libssl-dev, libraspberrypi-dev, libturbojpeg0-dev, libjpeg-dev, libmbedtls-dev",
|
||||||
"package-depends": "libpython3.9, libusb-1.0-0, libqt5widgets5, libqt5x11extras5, libqt5sql5, libqt5sql5-sqlite, libqt5serialport5, libmbedtls12, libturbojpeg0, libcec6",
|
"package-depends": "libpython3.9, libusb-1.0-0, libqt5widgets5, libqt5x11extras5, libqt5sql5, libqt5sql5-sqlite, libqt5serialport5, libmbedtls12, libturbojpeg0, libcec6",
|
||||||
"cmake-environment": "-DUSE_SYSTEM_MBEDTLS_LIBS=ON -DENABLE_DEPLOY_DEPENDENCIES=OFF -DCMAKE_BUILD_TYPE=Release",
|
"cmake-environment": "-DUSE_SYSTEM_MBEDTLS_LIBS=ON -DENABLE_DEPLOY_DEPENDENCIES=OFF -DCMAKE_BUILD_TYPE=Release",
|
||||||
"description": "Debian 12.x (Bookworm) (armhf)"
|
"description": "Debian 12.x (Bookworm) (armhf)",
|
||||||
|
"exclude" : true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
14
.github/workflows/nightly.yml
vendored
14
.github/workflows/nightly.yml
vendored
@ -5,7 +5,7 @@ on:
|
|||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * *'
|
- cron: '0 0 * * *'
|
||||||
repository_dispatch:
|
repository_dispatch:
|
||||||
types: [hyperion_nightly_push]
|
types: [hyperion_nightly_push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update:
|
update:
|
||||||
@ -25,7 +25,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check git status
|
- name: Check git status
|
||||||
id: status
|
id: status
|
||||||
run: echo "::set-output name=status::$(git status -s)"
|
run: echo "status=$(git status -s)" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Add and commit changes
|
- name: Add and commit changes
|
||||||
if: ${{ steps.status.outputs.status }}
|
if: ${{ steps.status.outputs.status }}
|
||||||
@ -53,9 +53,9 @@ jobs:
|
|||||||
id: build-necessary
|
id: build-necessary
|
||||||
run: |
|
run: |
|
||||||
if wget --spider "https://nightly.apt.hyperion-project.org/$(git rev-parse --short HEAD)" 2>/dev/null; then
|
if wget --spider "https://nightly.apt.hyperion-project.org/$(git rev-parse --short HEAD)" 2>/dev/null; then
|
||||||
echo "::set-output name=commit-has-changed::false"
|
echo "commit-has-changed=false" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
echo "::set-output name=commit-has-changed::true"
|
echo "commit-has-changed=true" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
outputs:
|
outputs:
|
||||||
build-nightly: ${{ steps.build-necessary.outputs.commit-has-changed }}
|
build-nightly: ${{ steps.build-necessary.outputs.commit-has-changed }}
|
||||||
@ -70,8 +70,9 @@ jobs:
|
|||||||
- name: Set nightly matrix
|
- name: Set nightly matrix
|
||||||
id: nightly-ppa
|
id: nightly-ppa
|
||||||
run: |
|
run: |
|
||||||
NIGHTLY=$(jq -n '.include |= [inputs[]]' .github/workflows/apt/*.json --compact-output)
|
NIGHTLY=$(jq -n '.include |= [ inputs[] | select(.["exclude"] != true)]' .github/workflows/apt/*.json --compact-output)
|
||||||
echo "::set-output name=nightly::$NIGHTLY"
|
echo "nightly=$NIGHTLY" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
outputs:
|
outputs:
|
||||||
nightly-matrix: ${{ steps.nightly-ppa.outputs.nightly }}
|
nightly-matrix: ${{ steps.nightly-ppa.outputs.nightly }}
|
||||||
|
|
||||||
@ -130,6 +131,7 @@ jobs:
|
|||||||
publish:
|
publish:
|
||||||
name: Publish nightly packages
|
name: Publish nightly packages
|
||||||
needs: [setup, build]
|
needs: [setup, build]
|
||||||
|
if: github.repository_owner == 'hyperion-project'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
2
.github/workflows/push-master.yml
vendored
2
.github/workflows/push-master.yml
vendored
@ -109,7 +109,7 @@ jobs:
|
|||||||
key: ${{ runner.os }}-Qt.${{ env.QT_VERSION }}
|
key: ${{ runner.os }}-Qt.${{ env.QT_VERSION }}
|
||||||
|
|
||||||
- name: Install Qt
|
- name: Install Qt
|
||||||
uses: jurplel/install-qt-action@v2
|
uses: jurplel/install-qt-action@v3
|
||||||
with:
|
with:
|
||||||
version: ${{ env.QT_VERSION }}
|
version: ${{ env.QT_VERSION }}
|
||||||
target: 'desktop'
|
target: 'desktop'
|
||||||
|
14
debian/distributions
vendored
14
debian/distributions
vendored
@ -16,24 +16,16 @@ SignWith: yes
|
|||||||
|
|
||||||
Origin: Hyperion-Project
|
Origin: Hyperion-Project
|
||||||
Label: apt.hyperion-project.org
|
Label: apt.hyperion-project.org
|
||||||
Codename: impish
|
Codename: jammy
|
||||||
Architectures: amd64 armhf arm64
|
Architectures: amd64 armhf arm64
|
||||||
Components: main
|
Components: main
|
||||||
Description: Official APT Repository by Hyperion Project
|
Description: Official APT Repository by Hyperion Project
|
||||||
SignWith: yes
|
SignWith: yes
|
||||||
|
|
||||||
Origin: Hyperion-Project
|
|
||||||
Label: apt.hyperion-project.org
|
|
||||||
Codename: jammy
|
|
||||||
Architectures: amd64
|
|
||||||
Components: main
|
|
||||||
Description: Official APT Repository by Hyperion Project
|
|
||||||
SignWith: yes
|
|
||||||
|
|
||||||
Origin: Hyperion-Project
|
Origin: Hyperion-Project
|
||||||
Label: apt.hyperion-project.org
|
Label: apt.hyperion-project.org
|
||||||
Codename: kinetic
|
Codename: kinetic
|
||||||
Architectures: amd64
|
Architectures: amd64 armhf arm64
|
||||||
Components: main
|
Components: main
|
||||||
Description: Official APT Repository by Hyperion Project
|
Description: Official APT Repository by Hyperion Project
|
||||||
SignWith: yes
|
SignWith: yes
|
||||||
@ -69,7 +61,7 @@ Origin: Hyperion-Project
|
|||||||
Label: apt.hyperion-project.org
|
Label: apt.hyperion-project.org
|
||||||
Suite: unstable
|
Suite: unstable
|
||||||
Codename: bookworm
|
Codename: bookworm
|
||||||
Architectures: armhf amd64
|
Architectures: amd64
|
||||||
Components: main
|
Components: main
|
||||||
Description: Official APT Repository by Hyperion Project
|
Description: Official APT Repository by Hyperion Project
|
||||||
SignWith: yes
|
SignWith: yes
|
||||||
|
Loading…
Reference in New Issue
Block a user