Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
caisar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
caisar
Commits
bcd7bae9
Commit
bcd7bae9
authored
9 months ago
by
Julien Girard-Satabin
Browse files
Options
Downloads
Patches
Plain Diff
[release][wip] Custom action to ensure python3 onnx package is available for tests
parent
5765b809
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
caisar.opam
+2
-1
2 additions, 1 deletion
caisar.opam
caisar.opam.template
+17
-0
17 additions, 0 deletions
caisar.opam.template
tests/dune
+7
-0
7 additions, 0 deletions
tests/dune
with
26 additions
and
1 deletion
caisar.opam
+
2
−
1
View file @
bcd7bae9
...
@@ -38,6 +38,7 @@ depends: [
...
@@ -38,6 +38,7 @@ depends: [
"conf-python-3" {with-test}
"conf-python-3" {with-test}
"odoc" {with-doc}
"odoc" {with-doc}
]
]
dev-repo: "git+https://git.frama-c.com/pub/caisar.git"
build: [
build: [
["dune" "subst"] {dev}
["dune" "subst"] {dev}
[
[
...
@@ -49,9 +50,9 @@ build: [
...
@@ -49,9 +50,9 @@ build: [
jobs
jobs
"--promote-install-files=false"
"--promote-install-files=false"
"@install"
"@install"
"@ensures-onnx"
"@runtest" {with-test}
"@runtest" {with-test}
"@doc" {with-doc}
"@doc" {with-doc}
]
]
["dune" "install" "-p" name "--create-install-files" name]
["dune" "install" "-p" name "--create-install-files" name]
]
]
dev-repo: "git+https://git.frama-c.com/pub/caisar.git"
This diff is collapsed.
Click to expand it.
caisar.opam.template
+
17
−
0
View file @
bcd7bae9
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"--promote-install-files=false"
"@install"
"@ensures-onnx"
"@runtest" {with-test}
"@doc" {with-doc}
]
["dune" "install" "-p" name "--create-install-files" name]
]
This diff is collapsed.
Click to expand it.
tests/dune
+
7
−
0
View file @
bcd7bae9
(rule
(alias ensures-onnx)
(deps (package caisar))
(action
(system "curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && python3 get-pip.py && python3 -m pip install onnx"))
)
(cram
(cram
(alias local)
(alias local)
(applies_to * \ nir_to_onnx acasxu_ci arithmetic comparison sequencing)
(applies_to * \ nir_to_onnx acasxu_ci arithmetic comparison sequencing)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment