Skip to content

Commit 492be52

Browse files
committed
workflows: use gcc14 for CE22 and LE13
1 parent 3e24d66 commit 492be52

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/build-vdrsternelec.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ jobs:
7979
8080
sudo apt-get install -y cpp-12 g++-12 gcc-12 || true
8181
sudo apt-get install -y cpp-13 g++-13 gcc-13 || true
82+
sudo apt-get install -y cpp-14 g++-14 gcc-14 || true
8283
8384
if [[ "${{ inputs.config }}" == CoreELEC-20* ]] || [[ "${{ inputs.config }}" == CoreELEC-21* ]] || [[ "${{ inputs.config }}" == LibreELEC-12* ]] ; then
8485
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 100
@@ -88,10 +89,10 @@ jobs:
8889
8990
sudo update-alternatives --config gcc
9091
elif [[ "${{ inputs.config }}" == CoreELEC-22* ]] || [[ "${{ inputs.config }}" == LibreELEC-13* ]] ; then
91-
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 100
92-
sudo update-alternatives --install /usr/bin/cpp cpp /usr/bin/cpp-13 100
93-
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 100
94-
sudo update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-13 100
92+
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 100 \
93+
--slave /usr/bin/cpp cpp /usr/bin/cpp-14 \
94+
--slave /usr/bin/g++ g++ /usr/bin/g++-14 \
95+
--slave /usr/bin/gcov gcov /usr/bin/gcov-14
9596
9697
sudo update-alternatives --config gcc
9798
fi

0 commit comments

Comments
 (0)