diff --git a/.github/workflows/cppjit-diff.yml b/.github/workflows/cppjit-diff.yml new file mode 100644 index 0000000000000..60cdce08483af --- /dev/null +++ b/.github/workflows/cppjit-diff.yml @@ -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/ diff --git a/bindings/pyroot/cppjit/cppjit-version.tag b/bindings/pyroot/cppjit/cppjit-version.tag index 73ba1b109d5a2..7905b105a9b02 100644 --- a/bindings/pyroot/cppjit/cppjit-version.tag +++ b/bindings/pyroot/cppjit/cppjit-version.tag @@ -1 +1 @@ -7dc6bf0ff47b56afe528a1b67dbd2724423e79d9 +e0945224e5b84336d570872ea47989457dae9d8e