forked from root-project/root
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (31 loc) · 997 Bytes
/
cppinterop-diff.yml
File metadata and controls
32 lines (31 loc) · 997 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Diff CppInterOp against upstream
on:
pull_request:
paths:
- 'interpreter/CppInterOp/**'
jobs:
cppinterop-diff:
runs-on: ubuntu-latest
steps:
- name: Check out ROOT
uses: actions/checkout@v4
with:
path: root
- name: Determine tag that CppInterOp in ROOT is based
id: determine-tag
run: |
tag_file=root/interpreter/CppInterOp/cppinterop-version.tag
echo "tag=$(cat $tag_file)" >> $GITHUB_OUTPUT
rm $tag_file
- name: Check out CppInterOp
uses: actions/checkout@v4
with:
repository: compiler-research/CppInterOp
ref: ${{ steps.determine-tag.outputs.tag }}
path: CppInterOp
- name: Drop directories that are not added to ROOT
working-directory: CppInterOp
run: |
rm -rf .git .github discord.svg
- name: Compare
run: diff --exclude=CMakeLists.txt -ur CppInterOp/ root/interpreter/CppInterOp/