Skip to content

Commit 37e68e0

Browse files
committed
CI: Add clang for compilation validation
1 parent f057cd9 commit 37e68e0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: Github Actions
2-
2+
33
on: [push, pull_request]
44

55
jobs:
66
host-x86:
77
runs-on: ubuntu-22.04
88
strategy:
99
matrix:
10-
compiler: [gcc-12]
10+
compiler: [gcc-12, clang]
1111
steps:
1212
- name: checkout code
1313
uses: actions/checkout@v3
@@ -17,8 +17,8 @@ jobs:
1717
run: |
1818
sudo apt-get update -q -y
1919
sudo apt-get install -q -y qemu-user
20-
sudo apt-get install -y build-essential
21-
sudo apt-get install -y clang-format
20+
sudo apt-get install -q -y build-essential
21+
sudo apt-get install -q -y clang-format
2222
sh .ci/check-format.sh
2323
make clean config ARCH=arm
2424
make check || exit 1

0 commit comments

Comments
 (0)