Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/workflows/cppjit-diff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Diff cppjit against upstream
on:
pull_request:
paths:
- 'bindings/pyroot/cppjit/**'

jobs:
cppjit-diff:
runs-on: ubuntu-latest
steps:
- name: Check out ROOT
uses: actions/checkout@v6
with:
path: root
- name: Determine tag that cppjit in ROOT is based
id: determine-tag
run: |
tag_file=root/bindings/pyroot/cppjit/cppjit-version.tag
echo "tag=$(cat $tag_file)" >> $GITHUB_OUTPUT
rm $tag_file
- name: Check out cppjit
uses: actions/checkout@v6
with:
repository: compiler-research/cppjit
ref: ${{ steps.determine-tag.outputs.tag }}
path: cppjit
- name: Drop files that are not added to ROOT
working-directory: cppjit
run: |
rm -rf .git .github zizmor.yml
- name: Compare
run: diff -ur cppjit/ root/bindings/pyroot/cppjit/
2 changes: 1 addition & 1 deletion bindings/pyroot/cppjit/cppjit-version.tag
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7dc6bf0ff47b56afe528a1b67dbd2724423e79d9
e0945224e5b84336d570872ea47989457dae9d8e
Loading