Skip to content

Commit

Permalink
[GitHub Actions] Try gcc-14 with fanalyzer - Use alternatives
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
  • Loading branch information
ujfalusi committed Feb 4, 2025
1 parent 19a622d commit 9787739
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/buildtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,17 @@ jobs:
sudo apt update
sudo apt install -y libelf-dev
- name: Leave only gcc-14 ;)
run: |
gcc --version
sudo apt install -y gcc-14
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-14 14
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-14 14
gcc --version
- name: build start
run: |
export ARCH=x86_64 KCFLAGS="-Wall -Werror -fanalyzer"
export CC=gcc-14 ARCH=x86_64 KCFLAGS="-Wall -Werror -fanalyzer"
make allmodconfig
make modules_prepare
make -k sound/soc/sof/
Expand Down

0 comments on commit 9787739

Please sign in to comment.