Skip to content

Commit 36e7b0a

Browse files
committed
Cleanup
1 parent 768fd85 commit 36e7b0a

File tree

287 files changed

+2491
-2493
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

287 files changed

+2491
-2493
lines changed

.github/actions/codeql/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ inputs:
1818

1919
runs:
2020
using: "composite"
21-
steps:
21+
steps:
2222
- name: Install libraries
2323
shell: bash
2424
run: |
@@ -93,7 +93,7 @@ runs:
9393

9494
- name: Filter out external libraries
9595
uses: advanced-security/filter-sarif@v1
96-
with:
96+
with:
9797
patterns: |
9898
-external/**
9999
input: sarif-results/${{ inputs.language }}.sarif

.github/workflows/image-builder-from-repo.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Build Image from Repo
22

3-
on:
3+
on:
44
workflow_dispatch:
55
inputs:
66
architecture:
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-24.04
1515
env:
1616
HYPERHDR_DEB: 'https://github.com/awawa-dev/HyperHDR/releases/download/v${{ github.event.inputs.tags }}/HyperHDR-${{ github.event.inputs.tags }}-Linux-${{ github.event.inputs.architecture }}.deb'
17-
17+
1818
steps:
1919
- name: Install Dependencies
2020
run: |
@@ -32,7 +32,7 @@ jobs:
3232
run: |
3333
cd CustomPiOS
3434
sudo bash -x src/make_custom_pi_os HyperHDR
35-
sudo chown -R runner HyperHDR
35+
sudo chown -R runner HyperHDR
3636
3737
- name: Download Raspbian Image (32-bits)
3838
if: github.event.inputs.architecture != 'aarch64'
@@ -52,7 +52,7 @@ jobs:
5252
echo "workspace_variant=raspios_lite_arm64" >> $GITHUB_ENV
5353
5454
- name: Update HyperHDR modules
55-
run: |
55+
run: |
5656
cd CustomPiOS/HyperHDR/src
5757
echo 'export DIST_NAME=HyperHDR' > config
5858
echo 'export DIST_VERSION=${{ github.event.inputs.tags }}' >> config
@@ -61,19 +61,19 @@ jobs:
6161
echo 'export RPI_IMAGER_DESCRIPTION="A Raspberry Pi distribution for ambient lighting. Ships HyperHDR out-of-the-box."' >> config
6262
echo 'export RPI_IMAGER_ICON="https://github.com/awawa-dev/HyperHDR/blob/master/resources/icons/hyperhdr-icon-32px.png"' >> config
6363
echo 'export BASE_IMAGE_ENLARGEROOT=2000' >> config
64-
echo 'export BASE_IMAGE_RESIZEROOT=200' >> config
64+
echo 'export BASE_IMAGE_RESIZEROOT=200' >> config
6565
cd modules/hyperhdr
6666
echo '#!/usr/bin/env bash' > start_chroot_script
6767
echo 'set -x' >> start_chroot_script
6868
echo 'set -e' >> start_chroot_script
69-
echo 'source /common.sh' >> start_chroot_script
69+
echo 'source /common.sh' >> start_chroot_script
7070
echo 'type -p curl >/dev/null || apt install curl -y' >> start_chroot_script
7171
echo 'curl -fsSL https://awawa-dev.github.io/hyperhdr.public.apt.gpg.key | dd of=/usr/share/keyrings/hyperhdr.public.apt.gpg.key \' >> start_chroot_script
7272
echo '&& chmod go+r /usr/share/keyrings/hyperhdr.public.apt.gpg.key \' >> start_chroot_script
7373
echo '&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/hyperhdr.public.apt.gpg.key] https://awawa-dev.github.io $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/hyperhdr.list > /dev/null \' >> start_chroot_script
7474
echo '&& apt update \' >> start_chroot_script
75-
echo '&& apt install --only-upgrade udev -y \' >> start_chroot_script
76-
echo '&& apt install hyperhdr -y' >> start_chroot_script
75+
echo '&& apt install --only-upgrade udev -y \' >> start_chroot_script
76+
echo '&& apt install hyperhdr -y' >> start_chroot_script
7777
echo 'touch /boot/ssh' >> start_chroot_script
7878
echo "echo -n 'pi:' > /boot/userconf" >> start_chroot_script
7979
echo "echo 'raspberry' | openssl passwd -6 -stdin >> /boot/userconf" >> start_chroot_script

.github/workflows/image-builder.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Build Image
22

3-
on:
3+
on:
44
workflow_dispatch:
55
inputs:
66
tags:
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-24.04
2020
env:
2121
HYPERHDR_DEB: 'https://github.com/awawa-dev/HyperHDR/releases/download/v${{ github.event.inputs.tags }}/HyperHDR-${{ github.event.inputs.tags }}-Linux-${{ github.event.inputs.architecture }}.deb'
22-
22+
2323
steps:
2424

2525
- name: Overrride Debian download link
@@ -53,7 +53,7 @@ jobs:
5353
run: |
5454
cd CustomPiOS
5555
sudo bash -x src/make_custom_pi_os HyperHDR
56-
sudo chown -R runner HyperHDR
56+
sudo chown -R runner HyperHDR
5757
5858
- name: Download Raspbian Image (32-bits)
5959
if: github.event.inputs.architecture != 'aarch64'
@@ -73,7 +73,7 @@ jobs:
7373
echo "workspace_variant=raspios_lite_arm64" >> $GITHUB_ENV
7474
7575
- name: Update HyperHDR modules
76-
run: |
76+
run: |
7777
cd CustomPiOS/HyperHDR/src
7878
echo 'export DIST_NAME=HyperHDR' > config
7979
echo 'export DIST_VERSION=${{ github.event.inputs.tags }}' >> config
@@ -82,7 +82,7 @@ jobs:
8282
echo 'export RPI_IMAGER_DESCRIPTION="A Raspberry Pi distribution for ambient lighting. Ships HyperHDR out-of-the-box."' >> config
8383
echo 'export RPI_IMAGER_ICON="https://github.com/awawa-dev/HyperHDR/blob/master/resources/icons/hyperhdr-icon-32px.png"' >> config
8484
echo 'export BASE_IMAGE_ENLARGEROOT=2000' >> config
85-
echo 'export BASE_IMAGE_RESIZEROOT=200' >> config
85+
echo 'export BASE_IMAGE_RESIZEROOT=200' >> config
8686
cd modules/hyperhdr
8787
echo '#!/usr/bin/env bash' > start_chroot_script
8888
echo 'set -x' >> start_chroot_script

.github/workflows/push-master.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
runs-on: ${{ startsWith(matrix.architecture, 'arm') && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}
2121
env:
2222
platform: ${{ startsWith(matrix.architecture, 'arm') && 'rpi' || 'linux' }}
23-
strategy:
23+
strategy:
2424
matrix:
2525
distroName: [debian]
2626
distroVersion: [bullseye, bookworm, trixie]
27-
architecture: [amd64, armhf, arm64]
27+
architecture: [amd64, armhf, arm64]
2828
include:
2929
- distroName: ubuntu
3030
distroVersion: jammy
@@ -42,7 +42,7 @@ jobs:
4242
distroVersion: latest
4343
architecture: amd64
4444

45-
steps:
45+
steps:
4646
- uses: actions/[email protected]
4747
with:
4848
submodules: true
@@ -106,7 +106,7 @@ jobs:
106106
runs-on: ${{ matrix.JOB_RUNNER }}
107107
strategy:
108108
matrix:
109-
include:
109+
include:
110110
- JOB_RUNNER: macos-15
111111
JOB_NAME: "macOS 15 (arm64: M1/M2/M3/M4)"
112112
NICE_NAME: arm64
@@ -131,7 +131,7 @@ jobs:
131131
- name: Install deps
132132
shell: bash
133133
run: brew install -q qtbase qtserialport ccache zstd webp jpeg-turbo flatbuffers pkg-config || true
134-
134+
135135
- name: Build packages
136136
env:
137137
PLATFORM: osx
@@ -152,7 +152,7 @@ jobs:
152152
if: startsWith(github.event.ref, 'refs/tags') && github.event_name != 'pull_request'
153153
uses: actions/[email protected]
154154
with:
155-
name: release-artifact-${{ matrix.JOB_RUNNER }}
155+
name: release-artifact-${{ matrix.JOB_RUNNER }}
156156
path: build/Hyper*.dmg
157157

158158
- name: Upload artifacts from commit
@@ -188,14 +188,14 @@ jobs:
188188

189189
- name: Python 3.13 for aqtinstall
190190
if: steps.cache-toolkit-windows.outputs.cache-hit != 'true'
191-
uses: actions/setup-python@v6
191+
uses: actions/setup-python@v6
192192
with:
193193
python-version: '3.13'
194194

195195
- name: "Install Toolkit: Qt, TurboJPEG and NSIS"
196196
if: steps.cache-toolkit-windows.outputs.cache-hit != 'true'
197197
shell: powershell
198-
run: |
198+
run: |
199199
Invoke-WebRequest -Method Get -Uri https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/3.0.3/libjpeg-turbo-3.0.3-vc64.exe -OutFile turbojpeg.exe -UseBasicParsing
200200
Start-Process -Wait turbojpeg.exe -ArgumentList "/S","/D=$env:TOOLKIT_DIR\libjpeg-turbo64"
201201
Invoke-WebRequest -UserAgent "Wget" -Uri "https://prdownloads.sourceforge.net/nsis/nsis-3.11-setup.exe" -OutFile nsis.exe
@@ -218,8 +218,8 @@ jobs:
218218
path: build/.ccache
219219
key: ${{ runner.os }}-ccache-${{ github.run_id }}
220220
restore-keys: ${{ runner.os }}-ccache
221-
222-
- name: Build packages
221+
222+
- name: Build packages
223223
env:
224224
PLATFORM: windows
225225
VCINSTALLDIR: 'C:/Program Files/Microsoft Visual Studio/${{ env.MSVC }}/Enterprise/VC'
@@ -243,7 +243,7 @@ jobs:
243243
with:
244244
name: release-artifact-windows
245245
path: build/Hyper*
246-
246+
247247
- name: Upload artifacts from commit
248248
if: startsWith(github.event.ref, 'refs/tags') == false && github.event_name != 'pull_request'
249249
uses: actions/[email protected]
@@ -382,7 +382,7 @@ jobs:
382382
with:
383383
path: artifacts
384384
pattern: release-artifact-*
385-
merge-multiple: true
385+
merge-multiple: true
386386

387387
- name: Create draft release
388388
uses: softprops/[email protected]

.github/workflows/upload-to-github-pages.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: HyperHDR Package Build (Github Pages Repo)
22

33
on:
44
push:
5-
tags:
5+
tags:
66
- '*'
77
workflow_dispatch:
88

@@ -19,11 +19,11 @@ jobs:
1919
runs-on: ${{ startsWith(matrix.architecture, 'arm') && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}
2020
env:
2121
platform: ${{ startsWith(matrix.architecture, 'arm') && 'rpi' || 'linux' }}
22-
strategy:
22+
strategy:
2323
matrix:
2424
distroName: [debian]
2525
distroVersion: [bullseye, bookworm, trixie]
26-
architecture: [amd64, armhf, arm64]
26+
architecture: [amd64, armhf, arm64]
2727
include:
2828
- distroName: ubuntu
2929
distroVersion: jammy
@@ -41,7 +41,7 @@ jobs:
4141
distroVersion: latest
4242
architecture: amd64
4343

44-
steps:
44+
steps:
4545
- uses: actions/[email protected]
4646
with:
4747
submodules: true
@@ -75,12 +75,12 @@ jobs:
7575
run: |
7676
mkdir -p ${{ env.REPO_DIR }}
7777
mkdir -p repo/others
78-
mv deploy/Hyper*.deb ${{ env.REPO_DIR }} ||:
79-
mv deploy/Hyper*.rpm repo/others ||:
80-
mv deploy/Hyper*.zst repo/others ||:
81-
rm -r repo/pool/ArchLinux ||:
78+
mv deploy/Hyper*.deb ${{ env.REPO_DIR }} ||:
79+
mv deploy/Hyper*.rpm repo/others ||:
80+
mv deploy/Hyper*.zst repo/others ||:
81+
rm -r repo/pool/ArchLinux ||:
8282
83-
- name: Upload artifacts from commit
83+
- name: Upload artifacts from commit
8484
uses: actions/[email protected]
8585
with:
8686
name: release-artifact-${{ matrix.architecture }}-${{ matrix.distroName }}-${{ matrix.distroVersion }}
@@ -100,7 +100,7 @@ jobs:
100100
with:
101101
path: repo
102102
pattern: release-artifact-*
103-
merge-multiple: true
103+
merge-multiple: true
104104
- name: Display structure of artifacts
105105
run: ls -R repo
106106
- name: Deploy the packages

0 commit comments

Comments
 (0)