Skip to content

Commit 2f8be28

Browse files
Merge branch 'master' into add-gauss-legendre
2 parents f89fa9c + d921e47 commit 2f8be28

477 files changed

Lines changed: 21809 additions & 23918 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/CI.yml

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ on:
33
pull_request:
44
branches:
55
- master
6+
- v7
67
push:
78
branches:
89
- master
10+
- v7
911
concurrency:
1012
# Skip intermediate builds: always.
1113
# Cancel intermediate builds: only if it is a pull request build.
@@ -19,6 +21,11 @@ jobs:
1921
runs-on: ubuntu-latest
2022
timeout-minutes: 120
2123
continue-on-error: ${{ matrix.group == 'Downstream' }}
24+
env:
25+
# Bypass Julia's Pkg server for registry; it lags behind JuliaRegistries/General
26+
# by up to hours and caches on a TTL. Resolve against git directly so newly
27+
# registered package versions are seen immediately by CI.
28+
JULIA_PKG_SERVER: ""
2229
strategy:
2330
fail-fast: false
2431
matrix:
@@ -75,7 +82,7 @@ jobs:
7582
cache-compiled: 'false'
7683
- name: Cache Julia depot (PR — restore only)
7784
if: github.event_name != 'push'
78-
uses: actions/cache/restore@v4
85+
uses: actions/cache/restore@v5
7986
continue-on-error: true
8087
with:
8188
path: |
@@ -91,6 +98,37 @@ jobs:
9198
key: julia-cache;workflow=${{ github.workflow }};job=${{ github.job }};os=${{ runner.os }};group=${{ matrix.group }};version=${{ matrix.version }};run_id=${{ github.run_id }};run_attempt=${{ github.run_attempt }}
9299
restore-keys: |
93100
julia-cache;workflow=${{ github.workflow }};job=${{ github.job }};os=${{ runner.os }};group=${{ matrix.group }};version=${{ matrix.version }};
101+
- name: Develop local path deps (Julia < 1.11)
102+
shell: julia --color=yes --project=. {0}
103+
run: |
104+
using Pkg
105+
if VERSION < v"1.11.0-DEV.0"
106+
toml = Pkg.TOML.parsefile("Project.toml")
107+
if haskey(toml, "sources")
108+
specs = Pkg.PackageSpec[]
109+
for (dep, spec) in toml["sources"]
110+
if spec isa Dict && haskey(spec, "path") && isdir(spec["path"])
111+
@info "Developing" dep spec["path"]
112+
push!(specs, Pkg.PackageSpec(path=spec["path"]))
113+
end
114+
end
115+
# Batch the develop call so Pkg resolves all path deps together.
116+
# Calling Pkg.develop once per source triggers a full re-resolve
117+
# each time, which fails if any sibling path dep isn't yet
118+
# registered (e.g. OrdinaryDiffEqRosenbrockTableaus).
119+
isempty(specs) || Pkg.develop(specs)
120+
end
121+
end
122+
- name: Refresh General registry directly from git
123+
shell: julia --color=yes --project=. {0}
124+
run: |
125+
using Pkg
126+
# Force a fresh git clone of General to dodge pkg server lag.
127+
try
128+
Pkg.Registry.rm("General")
129+
catch
130+
end
131+
Pkg.Registry.add(Pkg.RegistrySpec(url = "https://github.com/JuliaRegistries/General.git"))
94132
- uses: julia-actions/julia-buildpkg@v1
95133
- uses: julia-actions/julia-runtest@v1
96134
with:

.github/workflows/Downgrade.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ on:
33
pull_request:
44
branches:
55
- master
6+
- v7
67
paths-ignore:
78
- 'docs/**'
89
push:
910
branches:
1011
- master
12+
- v7
1113
paths-ignore:
1214
- 'docs/**'
1315
concurrency:

.github/workflows/DowngradeSublibraries.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ on:
33
pull_request:
44
branches:
55
- master
6+
- v7
67
paths-ignore:
78
- 'docs/**'
89
push:
910
branches:
1011
- master
12+
- v7
1113
paths-ignore:
1214
- 'docs/**'
1315
concurrency:

.github/workflows/SublibraryCI.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ on:
33
pull_request:
44
branches:
55
- master
6+
- v7
67
push:
78
branches:
89
- master
10+
- v7
911
concurrency:
1012
group: ${{ github.workflow }}-${{ github.ref }}
1113
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
@@ -80,6 +82,24 @@ jobs:
8082
continue-on-error: true
8183
with:
8284
cache-compiled: 'false'
85+
- name: Develop local path deps (Julia < 1.11)
86+
shell: julia --color=yes --project=. {0}
87+
run: |
88+
using Pkg
89+
if VERSION < v"1.11.0-DEV.0"
90+
toml = Pkg.TOML.parsefile("Project.toml")
91+
if haskey(toml, "sources")
92+
specs = Pkg.PackageSpec[]
93+
for (dep, spec) in toml["sources"]
94+
if spec isa Dict && haskey(spec, "path") && isdir(spec["path"])
95+
@info "Developing" dep spec["path"]
96+
push!(specs, Pkg.PackageSpec(path=spec["path"]))
97+
end
98+
end
99+
# Batch the develop call so Pkg resolves all path deps together.
100+
isempty(specs) || Pkg.develop(specs)
101+
end
102+
end
83103
- uses: julia-actions/julia-buildpkg@v1
84104
- uses: julia-actions/julia-runtest@v1
85105
with:

.github/workflows/benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Benchmark this PR
22

33
on:
44
pull_request:
5-
branches: [master]
5+
branches: [master, v7]
66
paths-ignore: ['docs/**']
77

88
permissions:

.typos.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Darmstadt = "Darmstadt"
4949
"différentiels" = "différentiels"
5050
"algébriques" = "algébriques"
5151
"problèmes" = "problèmes"
52+
problemes = "problemes" # French word in citation without accent
5253
Ono = "Ono" # Hiroshi Ono, author of Ono10/Ono12 RK methods
5354
padd = "padd" # variable name in analyticless_convergence_tests.jl
5455
Preprint = "Preprint"

0 commit comments

Comments
 (0)