Skip to content

Commit 9787739

Browse files
committed
[GitHub Actions] Try gcc-14 with fanalyzer - Use alternatives
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
1 parent 19a622d commit 9787739

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/buildtest.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,17 @@ jobs:
5050
sudo apt update
5151
sudo apt install -y libelf-dev
5252
53+
- name: Leave only gcc-14 ;)
54+
run: |
55+
gcc --version
56+
sudo apt install -y gcc-14
57+
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 14
58+
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 14
59+
gcc --version
60+
5361
- name: build start
5462
run: |
55-
export ARCH=x86_64 KCFLAGS="-Wall -Werror -fanalyzer"
63+
export CC=gcc-14 ARCH=x86_64 KCFLAGS="-Wall -Werror -fanalyzer"
5664
make allmodconfig
5765
make modules_prepare
5866
make -k sound/soc/sof/

0 commit comments

Comments
 (0)