Skip to content

Commit

Permalink
Checkpointing extension
Browse files Browse the repository at this point in the history
  • Loading branch information
milankl authored Apr 12, 2024
1 parent bafdf52 commit cd0cb6a
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 195 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,23 @@ on:
- main
jobs:
test:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
version:
- '1.9'
- '1.10'
os:
- ubuntu-latest
arch:
- x64
steps:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@v1
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: 1.5
- uses: actions/cache@v1
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- uses: actions/cache@v4
env:
cache-name: cache-artifacts
with:
Expand All @@ -25,4 +35,6 @@ jobs:
${{ runner.os }}-test-
${{ runner.os }}-
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-runtest@v1
- uses: julia-actions/julia-runtest@v1
env:
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,9 @@
nohup.out
progress.txt
parameter.txt

# File generated by Pkg, the package manager, based on a corresponding Project.toml
# It records a fixed state of all packages used by the project. As such, it should not be
# committed for packages, but should be committed for applications that require a static
# environment.
Manifest.toml
189 changes: 0 additions & 189 deletions Manifest.toml

This file was deleted.

4 changes: 4 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ NetCDF = "30363a11-5582-574a-97bb-aa9a979735b9"
Parameters = "d96e819e-fc66-5662-9728-84c9c7592b0a"
Printf = "de0858da-6303-5e67-8744-51eddeeeb8d7"

[weakdeps]
Checkpointing = "eb46d486-4f9c-4c3d-b445-a617f2a2f1ca"

[compat]
Checkpointing = "0.9"
Interpolations = "0.12, 0.13, 0.14"
NetCDF = "0.10, 0.11"
Parameters = "0.12, 0.13"
Expand Down
7 changes: 7 additions & 0 deletions ext/ShallowWatersCheckpointingExt.jl
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module ShallowWatersCheckpointingExt

using ShallowWaters, Checkpointing

# define functions here that are only loaded when `using Checkpointing`

end # module

0 comments on commit cd0cb6a

Please sign in to comment.