@@ -131,20 +131,22 @@ jobs:
131131 submodules : recursive
132132 - name : CPU Information
133133 run : cat /proc/cpuinfo
134- - run : sudo add-apt-repository ppa:stephanosio/ccache && sudo apt-get update
134+ - name : Install APT Dependencies
135+ run : |
136+ sudo add-apt-repository ppa:daawesomep/toolchain-backports-noble
137+ sudo add-apt-repository ppa:stephanosio/ccache && sudo apt-get update
138+ sudo apt-get install -y --no-install-recommends ninja-build ninja-build \
139+ pipx gcc-15 g++-15
140+ sudo apt-get satisfy -y 'binutils (>= 2.45)'
141+ sudo apt-get purge -y gcc g++
142+ sudo ln -s /usr/bin/gcc-15 /usr/bin/gcc
143+ sudo ln -s /usr/bin/g++-15 /usr/bin/g++
144+ pipx install meson==0.55.1
135145 - name : ccache
136146 uses :
hendrikmuhs/[email protected] 137147 with :
138148 key : ${{ github.job }}-${{ matrix.isax }}
139- evict-old-files : 1d
140149 verbose : 2
141- - name : Install APT Dependencies
142- run : |
143- sudo apt-get install -y --no-install-recommends ninja-build ninja-build pipx gcc-14 g++-14
144- sudo apt-get purge -y gcc g++
145- sudo ln -s /usr/bin/gcc-14 /usr/bin/gcc
146- sudo ln -s /usr/bin/g++-14 /usr/bin/g++
147- pipx install meson==0.55.1
148150 - name : add ccache to the build path
149151 run : |
150152 export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
@@ -162,7 +164,7 @@ jobs:
162164 meson test -C build --print-errorlogs --wrapper "${GITHUB_WORKSPACE}/test/check-flags.sh sde" $(meson test -C build --list | grep -v emul)
163165
164166 x86-xop :
165- runs-on : ubuntu-22 .04
167+ runs-on : ubuntu-24 .04
166168 strategy :
167169 fail-fast : false
168170 env :
@@ -174,21 +176,22 @@ jobs:
174176 submodules : recursive
175177 - name : CPU Information
176178 run : cat /proc/cpuinfo
177- - run : sudo add-apt-repository ppa:stephanosio/ccache && sudo apt-get update
179+ - name : Install APT Dependencies
180+ run : |
181+ sudo add-apt-repository ppa:daawesomep/toolchain-backports-noble
182+ sudo add-apt-repository ppa:stephanosio/ccache && sudo apt-get update
183+ sudo apt-get install -y --no-install-recommends ninja-build ninja-build \
184+ pipx g++-15 gcc-15 qemu-user-static
185+ sudo apt-get satisfy -y 'binutils (>= 2.45)'
186+ sudo apt-get purge -y gcc g++
187+ sudo ln -s /usr/bin/gcc-15 /usr/bin/gcc
188+ sudo ln -s /usr/bin/g++-15 /usr/bin/g++
189+ pipx install meson==0.55.1
178190 - name : ccache
179191 uses :
hendrikmuhs/[email protected] 180192 with :
181193 key : ${{ github.job }}
182- evict-old-files : 1d
183194 verbose : 2
184- - name : Install APT Dependencies
185- run : |
186- #sudo add-apt-repository ppa:aschultz/backports
187- sudo apt-get install -y --no-install-recommends ninja-build ninja-build pipx g++-12 gcc-12 qemu-user-static
188- # sudo apt-get purge -y gcc g++
189- # sudo ln -s /usr/bin/gcc-12 /usr/bin/gcc
190- # sudo ln -s /usr/bin/g++-12 /usr/bin/g++
191- pipx install meson==0.55.1
192195 - name : add ccache to the build path
193196 run : |
194197 export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
@@ -218,7 +221,6 @@ jobs:
218221 uses :
hendrikmuhs/[email protected] 219222 with :
220223 key : ${{ github.job }}
221- evict-old-files : 1d
222224 verbose : 2
223225 - name : Install APT Dependencies
224226 run : |
@@ -258,16 +260,21 @@ jobs:
258260 - id : cpu
259261 name : CPU Information
260262 run : cat /proc/cpuinfo
261- - run : sudo add-apt-repository ppa:stephanosio/ccache && sudo apt-get update
262263 - name : Install APT Dependencies
263264 run : |
264- sudo apt-get -y --no-install-recommends install libxml2-utils ninja-build pipx ccache && \
265+ sudo add-apt-repository ppa:daawesomep/toolchain-backports-noble
266+ sudo add-apt-repository ppa:stephanosio/ccache && sudo apt-get update
267+ sudo apt-get -y --no-install-recommends install libxml2-utils \
268+ ninja-build pipx ccache gcc-15 g++-15
269+ sudo apt-get satisfy -y 'binutils (>= 2.45)'
270+ sudo apt-get purge -y gcc g++
271+ sudo ln -s /usr/bin/gcc-15 /usr/bin/gcc
272+ sudo ln -s /usr/bin/g++-15 /usr/bin/g++
265273 pipx install meson==0.55.1
266274 - name : ccache
267275 uses :
hendrikmuhs/[email protected] 268276 with :
269277 key : ${{ github.job }}
270- evict-old-files : 1d
271278 verbose : 2
272279 - name : Convert
273280 run : ./test/native-aliases.sh
@@ -292,17 +299,22 @@ jobs:
292299 run : |
293300 cat /proc/cpuinfo
294301 echo "model_name=$(grep -m1 'model name' < /proc/cpuinfo | awk '-F: ' '{ print $2}' | tr '-' '_')" >> "$GITHUB_OUTPUT"
295- - run : sudo add-apt-repository ppa:stephanosio/ccache && sudo apt-get update
302+ - name : Install APT Dependencies
303+ run : |
304+ sudo add-apt-repository ppa:daawesomep/toolchain-backports-noble
305+ sudo add-apt-repository ppa:stephanosio/ccache && sudo apt-get update
306+ sudo apt-get install -y --no-install-recommends ninja-build libsleef-dev \
307+ pipx ccache gcc-15 g++-15
308+ sudo apt-get satisfy -y 'binutils (>= 2.45)'
309+ sudo apt-get purge -y gcc g++
310+ sudo ln -s /usr/bin/gcc-15 /usr/bin/gcc
311+ sudo ln -s /usr/bin/g++-15 /usr/bin/g++
312+ pipx install meson==0.55.1
296313 - name : ccache
297314 uses :
hendrikmuhs/[email protected] 298315 with :
299316 key : ${{ github.job }}-${{ steps.cpu.outputs.model_name }}
300- evict-old-files : 1d
301317 verbose : 2
302- - name : Install APT Dependencies
303- run : |
304- sudo apt-get install -y --no-install-recommends ninja-build ninja-build libsleef-dev pipx
305- pipx install meson==0.55.1
306318 - name : Configure
307319 run : meson setup build -Dsleef=enabled
308320 - name : Build
@@ -354,6 +366,11 @@ jobs:
354366 distro : ubuntu-24.04-arm
355367 - version : 15
356368 distro : ubuntu-24.04
369+ - version : 15
370+ distro : ubuntu-24.04
371+ arch_flags : -ffast-math
372+ - version : 15
373+ distro : ubuntu-24.04-arm
357374 runs-on : ${{ matrix.distro }}
358375 env :
359376 CFLAGS : ${{ matrix.arch_flags }} -march=native -Wall -Wextra -Werror
@@ -367,22 +384,25 @@ jobs:
367384 run : |
368385 cat /proc/cpuinfo
369386 echo "model_name=$(grep -m1 'model name' < /proc/cpuinfo || grep -m1 Features < /proc/cpuinfo | awk '-F: ' '{ print $2}' | tr '-' '_')" >> "$GITHUB_OUTPUT"
370- - run : sudo add-apt-repository ppa:stephanosio/ccache && sudo apt-get update
371- - name : ccache
372- uses :
hendrikmuhs/[email protected] 373- with :
374- key : ${{ github.job }}-${{ matrix.version }}-${{ matrix.distro }}-${{ matrix.arch_flags }}-${{ steps.cpu.outputs.model_name }}
375- evict-old-files : 1d
376- verbose : 2
377387 - name : Install APT Dependencies
378388 run : |
389+ sudo add-apt-repository ppa:stephanosio/ccache
390+ sudo add-apt-repository ppa:daawesomep/toolchain-backports-noble
379391 sudo add-apt-repository ppa:ubuntu-toolchain-r/test
380392 sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
381393 sudo add-apt-repository ppa:cppiber/build-depends
382394 sudo apt-get update
383- sudo apt-get -y install --no-install-recommends gcovr pipx ninja-build gcc-${{ matrix.version }} g++-${{ matrix.version }}
395+ sudo apt-get -y install --no-install-recommends gcovr pipx ninja-build \
396+ gcc-${{ matrix.version }} g++-${{ matrix.version }} ccache
384397 sudo apt-get -y purge g++ gcc
385398 pipx install meson==0.55.1
399+ - if : ${{ matrix.version == '15' }}
400+ run : sudo apt-get satisfy -y 'binutils (>= 2.45)'
401+ - name : ccache
402+ uses :
hendrikmuhs/[email protected] 403+ with :
404+ key : ${{ github.job }}-${{ matrix.version }}-${{ matrix.distro }}-${{ matrix.arch_flags }}-${{ steps.cpu.outputs.model_name }}
405+ verbose : 2
386406 - name : add ccache to the build path
387407 run : |
388408 export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
@@ -493,7 +513,6 @@ jobs:
493513 uses :
hendrikmuhs/[email protected] 494514 with :
495515 key : ${{ github.job }}-${{ matrix.version}}${{ matrix.extra }}-${{ matrix.distro }}-${{ matrix.cross }}
496- evict-old-files : 1d
497516 verbose : 2
498517 - name : add ccache to the build path
499518 run : |
@@ -549,7 +568,6 @@ jobs:
549568 uses :
hendrikmuhs/[email protected] 550569 with :
551570 key : ${{ github.job }}-${{ matrix.distro }}-${{ matrix.cross }}
552- evict-old-files : 1d
553571 verbose : 2
554572 - name : add ccache to the build path
555573 run : |
@@ -604,7 +622,6 @@ jobs:
604622 uses :
hendrikmuhs/[email protected] 605623 with :
606624 key : ${{ github.job }}-${{ matrix.distro }}-${{ matrix.cross }}
607- evict-old-files : 1d
608625 verbose : 2
609626 - name : add ccache to the build path
610627 run : |
@@ -694,7 +711,6 @@ jobs:
694711 uses :
hendrikmuhs/[email protected] 695712 with :
696713 key : ${{ github.job }}-${{ matrix.version }}${{ matrix.extra }}-${{ matrix.cross }}
697- evict-old-files : 1d
698714 verbose : 2
699715 - name : add ccache to the build path
700716 run : |
@@ -852,7 +868,6 @@ jobs:
852868 uses :
hendrikmuhs/[email protected] 853869 with :
854870 key : ${{ github.job }}-${{ matrix.version }}-${{ matrix.distro }}-${{ matrix.arch_flags }}-${{ steps.cpu.outputs.model_name }}
855- evict-old-files : 1d
856871 verbose : 2
857872 - name : Install PPAs
858873 if : ${{ matrix.distro == 'ubuntu-22.04' }}
@@ -934,7 +949,6 @@ jobs:
934949 uses :
hendrikmuhs/[email protected] 935950 with :
936951 key : ${{ github.job }}-${{ matrix.os }}-${{ matrix.xcode }}
937- evict-old-files : 1d
938952 verbose : 2
939953 - name : Python install bug workaround # https://github.com/actions/setup-python/issues/577
940954 run : |
0 commit comments