Skip to content

Commit dff96e6

Browse files
Address reviewer feedback
1 parent 3b3addd commit dff96e6

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/precommit.yaml renamed to .github/workflows/precommit-linux.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "Precommit tests"
1+
name: "Linux Precommit Tests"
22

33
permissions:
44
contents: read
@@ -11,9 +11,15 @@ on:
1111
- '.github/workflows/precommit.yaml'
1212
- 'llvm/**'
1313

14+
concurrency:
15+
# Skip intermediate builds: always.
16+
# Cancel intermediate builds: only if it is a pull request build.
17+
group: ${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
19+
1420
jobs:
15-
build-llvm:
16-
name: "Build and test LLVM"
21+
build-llvm-linux:
22+
name: "Build and test LLVM (Linux)"
1723
runs-on: ubuntu-latest
1824
container:
1925
image: ghcr.io/llvm/ci-ubuntu-22.04:latest
@@ -38,7 +44,7 @@ jobs:
3844
-DCMAKE_C_COMPILER=clang \
3945
-DCMAKE_CXX_COMPILER=clang++ \
4046
-DLLVM_LIT_ARGS="-v --no-progress-bar" \
41-
./llvm
47+
-S ./llvm
4248
- name: Build LLVM
4349
run: |
4450
ninja -C llvm-build llvm-test-depends

0 commit comments

Comments
 (0)