Repository navigation
46 lines (40 loc) · 1.51 KB
/
Copy pathcppjit.yml
File metadata and controls
46 lines (40 loc) · 1.51 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: cppjit
# Build cppjit@main against the CppInterOp ref under test and run
# its python suite. Rows are a lean subset of cppjit's PR cells.
on:
pull_request:
branches: [main]
push:
branches: [main]
schedule:
- cron: '30 20 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
env:
# The LLVM major the cling row builds against, matching main.yml's
# cling rows. The row below aliases it, so moving to the next major
# is this line alone.
CLING_LLVM_MAJOR: &cling_llvm_major '22'
jobs:
test-cppjit:
name: ${{ matrix.name }}
strategy:
fail-fast: false
matrix:
include:
- { name: ubu24-x86-llvm23-vg, os: ubuntu-24.04, llvm: '23', flavor: '', vg: true }
- { name: ubu24-x86-llvm22, os: ubuntu-24.04, llvm: '22', flavor: '' }
- { name: ubu24-x86-cling, os: ubuntu-24.04, llvm: *cling_llvm_major, flavor: cling }
- { name: osx26-arm-llvm23, os: macos-26, llvm: '23', flavor: system }
uses: compiler-research/ci-workflows/.github/workflows/cppjit.yml@main
with:
cppinterop-ref: ${{ github.event.pull_request.head.sha || github.sha }}
os: ${{ matrix.os }}
llvm-version: ${{ matrix.llvm }}
llvm-flavor: ${{ matrix.flavor }}
llvm-flavor-version: ${{ matrix.flavor == 'cling' && format('cling-llvm{0}', matrix.llvm) || '' }}
python-version: '3.14'
valgrind: ${{ matrix.vg || false }}