|
44 | 44 | - uses: julia-actions/julia-buildpkg@v1 |
45 | 45 | # On Julia 1.10, `Pkg.test` from the activated project doesn't honor `[sources]` |
46 | 46 | # path entries (a 1.11+ feature). Dev the path-based test deps into a temp env |
47 | | - # and test by name. Registered deps like JET are resolved normally from the registry |
48 | | - # (1.10 picks the latest 1.10-compatible JET, which is sufficient). |
| 47 | + # and test by name. JET resolves normally from the registry. |
49 | 48 | - name: Run tests (lts path) |
50 | 49 | if: ${{ inputs.version == 'lts' }} |
51 | 50 | run: | |
|
58 | 57 | ]) |
59 | 58 | Pkg.test("EmulatedBitIntegers"; coverage=true, |
60 | 59 | julia_args=["--check-bounds=yes", "--depwarn=yes"])' |
| 60 | + # Julia 1.13 pre-release: registered JET does not yet support 1.13, so dev |
| 61 | + # the fork's `julia-1.13-compat` branch into a temp env alongside the path |
| 62 | + # deps. Drop this step once a 1.13-compatible JET is released. |
| 63 | + # Skips coverage and `--check-bounds=yes` so the `performance invariants` |
| 64 | + # testset's exact LLVM op counts (calibrated on 1.11+ clean codegen) get |
| 65 | + # exercised; the other jobs run with CI hygiene flags that perturb counts. |
| 66 | + - name: Run tests (pre path with JET fork) |
| 67 | + if: ${{ inputs.version == 'pre' }} |
| 68 | + run: | |
| 69 | + julia --color=yes -e ' |
| 70 | + using Pkg |
| 71 | + Pkg.activate(; temp=true) |
| 72 | + Pkg.develop([ |
| 73 | + PackageSpec(path=pwd()), |
| 74 | + PackageSpec(path=joinpath(pwd(), "test", "PrecompileTest")), |
| 75 | + ]) |
| 76 | + Pkg.add(PackageSpec(url="https://github.com/PatrickHaecker/JET.jl", rev="julia-1.13-compat")) |
| 77 | + Pkg.test("EmulatedBitIntegers"; julia_args=["--depwarn=yes"])' |
61 | 78 | - uses: julia-actions/julia-runtest@v1 |
62 | | - if: ${{ inputs.version != 'lts' }} |
| 79 | + if: ${{ inputs.version != 'lts' && inputs.version != 'pre' }} |
63 | 80 | - uses: julia-actions/julia-processcoverage@v1 |
64 | 81 | if: ${{ inputs.run_codecov }} |
65 | 82 | - uses: codecov/codecov-action@v4 |
|
0 commit comments