Skip to content

Commit cd0cb6a

Browse files
authored
Checkpointing extension
1 parent bafdf52 commit cd0cb6a

File tree

5 files changed

+35
-195
lines changed

5 files changed

+35
-195
lines changed

.github/workflows/CI.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,23 @@ on:
88
- main
99
jobs:
1010
test:
11-
runs-on: ubuntu-latest
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
version:
15+
- '1.9'
16+
- '1.10'
17+
os:
18+
- ubuntu-latest
19+
arch:
20+
- x64
1221
steps:
13-
- uses: actions/checkout@v2
14-
- uses: julia-actions/setup-julia@v1
22+
- uses: actions/checkout@v4
23+
- uses: julia-actions/setup-julia@v2
1524
with:
16-
version: 1.5
17-
- uses: actions/cache@v1
25+
version: ${{ matrix.version }}
26+
arch: ${{ matrix.arch }}
27+
- uses: actions/cache@v4
1828
env:
1929
cache-name: cache-artifacts
2030
with:
@@ -25,4 +35,6 @@ jobs:
2535
${{ runner.os }}-test-
2636
${{ runner.os }}-
2737
- uses: julia-actions/julia-buildpkg@v1
28-
- uses: julia-actions/julia-runtest@v1
38+
- uses: julia-actions/julia-runtest@v1
39+
env:
40+
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,9 @@
44
nohup.out
55
progress.txt
66
parameter.txt
7+
8+
# File generated by Pkg, the package manager, based on a corresponding Project.toml
9+
# It records a fixed state of all packages used by the project. As such, it should not be
10+
# committed for packages, but should be committed for applications that require a static
11+
# environment.
12+
Manifest.toml

Manifest.toml

Lines changed: 0 additions & 189 deletions
This file was deleted.

Project.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ NetCDF = "30363a11-5582-574a-97bb-aa9a979735b9"
1010
Parameters = "d96e819e-fc66-5662-9728-84c9c7592b0a"
1111
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"
1212

13+
[weakdeps]
14+
Checkpointing = "eb46d486-4f9c-4c3d-b445-a617f2a2f1ca"
15+
1316
[compat]
17+
Checkpointing = "0.9"
1418
Interpolations = "0.12, 0.13, 0.14"
1519
NetCDF = "0.10, 0.11"
1620
Parameters = "0.12, 0.13"

ext/ShallowWatersCheckpointingExt.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module ShallowWatersCheckpointingExt
2+
3+
using ShallowWaters, Checkpointing
4+
5+
# define functions here that are only loaded when `using Checkpointing`
6+
7+
end # module

0 commit comments

Comments
 (0)