Skip to content

Commit 12a9318

Browse files
committed
Restrict Geant4_jll version in docs and tests to ≤11.3
1 parent 471a446 commit 12a9318

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/Downgrade.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Downgrade
22
env:
33
JULIA_NUM_THREADS: 4
4+
JULIA_PKG_PRECOMPILE_AUTO: 0
45
on:
56
pull_request:
67
branches:
@@ -28,6 +29,9 @@ jobs:
2829
- name: Add LegendJuliaRegistry
2930
run: julia -e 'using Pkg; Pkg.Registry.add("General"); Pkg.Registry.add(Pkg.RegistrySpec(url = "https://github.com/legend-exp/LegendJuliaRegistry"))'
3031
shell: bash
32+
- name: Restrict Geant4_jll to <= 11.3 # Temporary fix: this is needed until Geant4.jl is compatible with Geant4_jll@11.4
33+
run: julia --project=. -e 'using Pkg; Pkg.add(Pkg.PackageSpec(name="Geant4_jll", version="11.3")); Pkg.compat("Geant4_jll", "11.3")'; rm Manifest.toml
34+
shell: bash
3135
- name: Downgrade NearestNeighbors # Temporary fix: this is needed to work with older versions of StaticArrays
3236
run: julia --project=. -e 'using Pkg; Pkg.add(name = "NearestNeighbors", version = "0.4.13"); Pkg.compat("NearestNeighbors", "0.4.13")'
3337
shell: bash

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
runs-on: ${{ matrix.os }}
2828
env:
2929
JULIA_NUM_THREADS: ${{ matrix.threads }}
30+
JULIA_PKG_PRECOMPILE_AUTO: 0
3031
continue-on-error: ${{ matrix.version == 'pre' }}
3132
strategy:
3233
fail-fast: false
@@ -71,6 +72,10 @@ jobs:
7172
run: julia --project="test" -e 'using Pkg; Pkg.resolve(); Pkg.rm("Geant4"); Pkg.develop(path = pwd())'
7273
shell: bash
7374
if: matrix.arch == 'x86'
75+
- name: Restrict Geant4_jll to <= 11.3 # Temporary fix: this is needed until Geant4.jl is compatible with Geant4_jll@11.4
76+
run: julia --project="test" -e 'using Pkg; Pkg.add(Pkg.PackageSpec(name="Geant4_jll", version="11.3")); Pkg.compat("Geant4_jll", "<11.4")'; rm Manifest.toml
77+
shell: bash
78+
if: matrix.arch != 'x86'
7479
- uses: julia-actions/julia-runtest@v1
7580
with:
7681
coverage: ${{ matrix.version == '1.10' && matrix.os == 'ubuntu-latest' && matrix.arch == 'x64' }}
@@ -91,6 +96,9 @@ jobs:
9196
with:
9297
version: '1.10'
9398
- uses: julia-actions/cache@v3
99+
- name: Restrict Geant4_jll to <= 11.3 # Temporary fix: this is needed until Geant4.jl is compatible with Geant4_jll@11.4
100+
run: julia --project=. -e 'using Pkg; Pkg.add(Pkg.PackageSpec(name="Geant4_jll", version="11.3")); Pkg.compat("Geant4_jll", "<11.4")'
101+
shell: bash
94102
- uses: julia-actions/julia-buildpkg@v1
95103
env:
96104
PYTHON: 'Conda'

0 commit comments

Comments
 (0)