We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c4ff82 commit eb9894cCopy full SHA for eb9894c
1 file changed
.github/workflows/ubuntu.yml
@@ -2,7 +2,24 @@ on:
2
workflow_call:
3
4
jobs:
5
+ pre-commit:
6
+ runs-on: ubuntu-24.04
7
+ steps:
8
+ - uses: actions/checkout@v4
9
+ with:
10
+ submodules: recursive
11
+ - name: Setup environment
12
+ run: |
13
+ sudo apt-get update
14
+ sudo apt-get install --no-install-recommends -y \
15
+ gcc-14 g++-14 ninja-build python3-pip clang-format-16
16
+ python3 -m pip install -r requirements.txt
17
+ - name: Run pre-commit checks
18
19
+ pre-commit run --from-ref origin/master --to-ref HEAD
20
gcc-build:
21
+ needs:
22
+ - pre-commit
23
runs-on: ${{ matrix.os }}
24
strategy:
25
matrix:
@@ -110,6 +127,8 @@ jobs:
110
127
env:
111
128
PPC_NUM_PROC: 1
112
129
clang-build:
130
131
113
132
114
133
115
134
0 commit comments