Skip to content

Commit 6b48db0

Browse files
committed
Only verify bindings on certain files
1 parent c91c6b2 commit 6b48db0

File tree

2 files changed

+26
-8
lines changed

2 files changed

+26
-8
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ jobs:
6363
7z x ninja.zip -o"$GITHUB_WORKSPACE/ninja"
6464
echo "$GITHUB_WORKSPACE/ninja" >> $GITHUB_PATH
6565
66-
- name: Update LLVM (Windows)
67-
shell: bash
68-
run: |
69-
curl -L https://github.com/llvm/llvm-project/releases/download/llvmorg-19.1.7/LLVM-19.1.7-win64.exe -o llvm-inst.exe
70-
7z x llvm-inst.exe -ollvm bin/clang.exe bin/clang++.exe bin/lld-link.exe bin/llvm-rc.exe bin/*.dll lib/clang/*/include/*
71-
echo "$GITHUB_WORKSPACE/llvm/bin" >> $GITHUB_PATH
72-
if: matrix.config.id == 'win'
66+
# - name: Update LLVM (Windows)
67+
# shell: bash
68+
# run: |
69+
# curl -L https://github.com/llvm/llvm-project/releases/download/llvmorg-19.1.7/LLVM-19.1.7-win64.exe -o llvm-inst.exe
70+
# 7z x llvm-inst.exe -ollvm bin/clang.exe bin/clang++.exe bin/lld-link.exe bin/llvm-rc.exe bin/*.dll lib/clang/*/include/*
71+
# echo "$GITHUB_WORKSPACE/llvm/bin" >> $GITHUB_PATH
72+
# if: matrix.config.id == 'win'
7373

7474
- name: Update Clang (Linux)
7575
shell: bash

.github/workflows/verify.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
11
name: 'Verify bindings syntax'
22

3-
on: [push, pull_request]
3+
on:
4+
pull_request:
5+
paths:
6+
- '.github/workflows/*'
7+
- 'bindings/2.2074/*'
8+
- 'bindings/include/**'
9+
- 'cmake/**'
10+
- 'codegen/**'
11+
- 'test/**'
12+
push:
13+
branches:
14+
- '**'
15+
paths:
16+
- '.github/workflows/*'
17+
- 'bindings/2.2074/*'
18+
- 'bindings/include/**'
19+
- 'cmake/**'
20+
- 'codegen/**'
21+
- 'test/**'
422

523
jobs:
624
build:

0 commit comments

Comments
 (0)