Skip to content

Commit 9f51a5a

Browse files
authored
Merge pull request #219 from control-toolbox/develop
Develop
2 parents e632d7b + c93465f commit 9f51a5a

20 files changed

Lines changed: 44 additions & 752 deletions

.github/workflows/Breakage.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ jobs:
2020
pkgname: ${{ matrix.pkgname }}
2121
pkgpath: ${{ matrix.pkgpath }}
2222
pkgversion: ${{ matrix.pkgversion }}
23+
use_ct_registry: true
24+
secrets:
25+
SSH_KEY: ${{ secrets.SSH_KEY }}

.github/workflows/Coverage.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,8 @@ on:
88
jobs:
99
call:
1010
uses: control-toolbox/CTActions/.github/workflows/coverage.yml@main
11+
with:
12+
use_ct_registry: true
1113
secrets:
1214
codecov-secret: ${{ secrets.CODECOV_TOKEN }}
15+
SSH_KEY: ${{ secrets.SSH_KEY }}

Project.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
name = "CTParser"
22
uuid = "32681960-a1b1-40db-9bff-a1ca817385d1"
3-
version = "0.8.3-beta"
3+
version = "0.8.6"
44
authors = ["Jean-Baptiste Caillau <jean-baptiste.caillau@univ-cotedazur.fr>"]
55

66
[deps]
77
CTBase = "54762871-cc72-4466-b8e8-f6c8b58076cd"
88
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
9-
ExaModels = "1037b233-b668-4ce9-9b63-f9f681f55dd2"
10-
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
119
MLStyle = "d8e11817-5142-5d16-987a-aa16d5891078"
1210
OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d"
1311
Parameters = "d96e819e-fc66-5662-9728-84c9c7592b0a"
@@ -16,8 +14,6 @@ Unicode = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
1614
[compat]
1715
CTBase = "0.18"
1816
DocStringExtensions = "0.9"
19-
ExaModels = "0.9.3"
20-
LinearAlgebra = "1"
2117
MLStyle = "0.4"
2218
OrderedCollections = "1"
2319
Parameters = "0.12"

src/CTParser.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ using Unicode
2222
# sources
2323
include("defaults.jl")
2424
include("utils.jl")
25-
include("exa_linalg.jl")
2625
include("onepass.jl")
2726
include("initial_guess.jl")
2827

src/exa_linalg.jl

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

src/initial_guess.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ When `log = true`, the macro additionally prints a human-readable
311311
312312
# Returns
313313
314-
- `AbstractOptimalControlInitialGuess`: backend-specific initial guess
314+
- `AbstractInitialGuess`: backend-specific initial guess
315315
object produced by the current backend (par défaut `CTModels`).
316316
317317
# Example
@@ -333,7 +333,7 @@ julia> ig = @init ocp begin
333333
u(t) := t
334334
end
335335
336-
julia> ig isa CTModels.AbstractOptimalControlInitialGuess
336+
julia> ig isa CTModels.AbstractInitialGuess
337337
true
338338
```
339339
"""

test/Project.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,13 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
1818
Aqua = "0.8"
1919
BenchmarkTools = "1"
2020
CTBase = "0.18"
21-
CTModels = "0.8"
21+
CTModels = "0.9"
2222
CUDA = "5"
23-
ExaModels = "0.9"
2423
Interpolations = "0.16"
2524
KernelAbstractions = "0.9"
2625
LinearAlgebra = "1"
27-
MadNLP = "0.8"
28-
MadNLPGPU = "0.7"
26+
MadNLP = "0.9"
27+
MadNLPGPU = "0.8"
2928
NLPModels = "0.21"
3029
OrderedCollections = "1.8"
3130
Test = "1.10"

test/runtests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,14 @@ import CTModels:
5050
criterion,
5151
Model,
5252
get_build_examodel
53-
using ExaModels: ExaModels
53+
using ExaModels
54+
using LinearAlgebra
5455
using MadNLP
5556
using MadNLPGPU
5657
using CUDA
5758
using BenchmarkTools
5859
using Interpolations
5960
using NLPModels
60-
using LinearAlgebra
6161

6262
include("utils.jl")
6363

@@ -69,7 +69,7 @@ CTBase.run_tests(;
6969
args=String.(ARGS),
7070
testset_name="CTParser tests",
7171
available_tests=(
72-
"suite/test_*",
72+
"test_*",
7373
),
7474
filename_builder=name -> "test_$(name).jl",
7575
funcname_builder=name -> "test_$(name)",
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,5 @@ function test_aqua()
77
deps_compat=(ignore=[:LinearAlgebra, :Unicode],),
88
piracies=true,
99
)
10-
# Test ExaLinAlg submodule for type piracy
11-
#@testset "ExaLinAlg piracy" begin
12-
# Aqua.test_piracies(CTParser.ExaLinAlg)
13-
#end
1410
end
1511
end

0 commit comments

Comments
 (0)