Skip to content

Commit 11399a4

Browse files
committed
first commit
1 parent 0d1fad4 commit 11399a4

13 files changed

+113
-9
lines changed

.github/workflows/CI.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# [.github/workflows/CI.yml]
2+
name: CI
3+
on:
4+
push:
5+
branches:
6+
- main
7+
tags: '*'
8+
pull_request:
9+
jobs:
10+
test:
11+
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }}
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
matrix:
15+
version:
16+
- '1.10'
17+
os:
18+
- ubuntu-latest
19+
arch:
20+
- x64
21+
steps:
22+
- uses: actions/checkout@v4
23+
- uses: julia-actions/setup-julia@latest
24+
with:
25+
version: ${{ matrix.version }}
26+
arch: ${{ matrix.arch }}
27+
- uses: julia-actions/julia-runtest@latest

.github/workflows/Documentation.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# [.github/workflows/Documentation.yml]
2+
name: Documentation
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
tags: '*'
9+
pull_request:
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: julia-actions/setup-julia@latest
17+
- uses: julia-actions/julia-buildpkg@latest
18+
- name: Install dependencies
19+
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
20+
- name: Build and deploy
21+
env:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
23+
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # If authenticating with SSH deploy key
24+
GKSwstype: 100 # To make GitHub Action work, disable showing a plot window with the GR backend of the Plots package
25+
run: julia --project=docs/ -e 'ENV["GKSwstype"]="nul" ; include("docs/make.jl")'

.github/workflows/coverage.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# [.github/workflows/coverage.yml]
2+
name: coverage
3+
on:
4+
push:
5+
branches:
6+
- main
7+
tags: '*'
8+
jobs:
9+
test:
10+
name: coverage
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: julia-actions/setup-julia@latest
15+
- uses: julia-actions/julia-runtest@latest
16+
- uses: julia-actions/julia-processcoverage@latest
17+
- uses: codecov/codecov-action@v4
18+
env:
19+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
.vscode
2+
.DS_Store
3+
14
# Files generated by invoking Julia with --code-coverage
25
*.jl.cov
36
*.jl.*.cov

Project.toml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
[deps]
2-
DifferentialEquations = "0c46a032-eb83-5123-abaf-570d42b7fbaa"
3-
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
4-
MINPACK = "4854310b-de5a-5eb6-a2a5-c1dee2bd17f9"
5-
NLsolve = "2774e3e8-f4cf-5e23-947b-6d7e65073b56"
6-
OptimalControl = "5f98b655-cc9a-415a-b60e-744165666948"
7-
PlotlyJS = "f0f68f2c-4968-5e81-91da-67840de0976a"
8-
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
9-
PyPlot = "d330b81b-6aea-500a-939a-2ce795aea3ee"
1+
name = "GeometricPreconditioner"
2+
uuid = "4fb4c77a-c2a1-4666-8b47-e5158870c0af"
3+
authors = ["Olivier Cots <olivier.cots@irit.fr>"]
4+
version = "0.1.0"
File renamed without changes.
File renamed without changes.
File renamed without changes.

resources/Project.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[deps]
2+
DifferentialEquations = "0c46a032-eb83-5123-abaf-570d42b7fbaa"
3+
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
4+
MINPACK = "4854310b-de5a-5eb6-a2a5-c1dee2bd17f9"
5+
NLsolve = "2774e3e8-f4cf-5e23-947b-6d7e65073b56"
6+
OptimalControl = "5f98b655-cc9a-415a-b60e-744165666948"
7+
PlotlyJS = "f0f68f2c-4968-5e81-91da-67840de0976a"
8+
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
9+
PyPlot = "d330b81b-6aea-500a-939a-2ce795aea3ee"

src/GeometricPreconditioner.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module GeometricPreconditioner
2+
3+
greet() = print("Hello World!")
4+
5+
end # module GeometricPreconditioner

0 commit comments

Comments
 (0)