Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
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
frama-c
Commits
dabd36da
Commit
dabd36da
authored
2 years ago
by
Allan Blanchard
Browse files
Options
Downloads
Patches
Plain Diff
[ci] 4.13 CI
parent
30b8a6c5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+21
-9
21 additions, 9 deletions
.gitlab-ci.yml
build-distrib.sh
+20
-0
20 additions, 0 deletions
build-distrib.sh
nix/default-config-tests.nix
+43
-0
43 additions, 0 deletions
nix/default-config-tests.nix
nix/pkgs.nix
+1
-0
1 addition, 0 deletions
nix/pkgs.nix
with
85 additions
and
9 deletions
.gitlab-ci.yml
+
21
−
9
View file @
dabd36da
...
@@ -9,9 +9,9 @@ stages:
...
@@ -9,9 +9,9 @@ stages:
variables
:
variables
:
DEFAULT
:
"
feature/bobot/jbuilder"
DEFAULT
:
"
feature/bobot/jbuilder"
OCAML
:
"
4_12"
# CURRENT: $CI_COMMIT_REF_NAME
# CURRENT: $CI_COMMIT_REF_NAME
# FRAMA_CI_OPT: "--override frama-c:$CI_COMMIT_REF_NAME,$CI_COMMIT_SHA"
# FRAMA_CI_OPT: "--override frama-c:$CI_COMMIT_REF_NAME,$CI_COMMIT_SHA"
# OCAML: "4_08"
################################################################################
################################################################################
### BUILD
### BUILD
...
@@ -27,7 +27,7 @@ check-no-old-frama-c:
...
@@ -27,7 +27,7 @@ check-no-old-frama-c:
frama-c
:
frama-c
:
stage
:
build
stage
:
build
script
:
script
:
-
nix-build nix/pkgs.nix -A ocaml-ng.ocamlPackages_
4_12
.frama-c
-
nix-build nix/pkgs.nix -A ocaml-ng.ocamlPackages_
$OCAML
.frama-c
artifacts
:
artifacts
:
when
:
on_failure
when
:
on_failure
paths
:
paths
:
...
@@ -40,7 +40,7 @@ frama-c:
...
@@ -40,7 +40,7 @@ frama-c:
lint
:
lint
:
stage
:
build
stage
:
build
script
:
script
:
-
nix-build nix/pkgs.nix -A ocaml-ng.ocamlPackages_
4_12
.lint
-
nix-build nix/pkgs.nix -A ocaml-ng.ocamlPackages_
$OCAML
.lint
coverage
:
'
/lint
coverage:
\d+\.\d+/'
coverage
:
'
/lint
coverage:
\d+\.\d+/'
tags
:
tags
:
-
nix
-
nix
...
@@ -79,21 +79,21 @@ genassigns:
...
@@ -79,21 +79,21 @@ genassigns:
e-acsl-tests
:
e-acsl-tests
:
stage
:
tests
stage
:
tests
script
:
script
:
-
nix-build nix/pkgs.nix -A ocaml-ng.ocamlPackages_
4_12
.e-acsl-tests
-
nix-build nix/pkgs.nix -A ocaml-ng.ocamlPackages_
$OCAML
.e-acsl-tests
tags
:
tags
:
-
nix
-
nix
eva-tests
:
eva-tests
:
stage
:
tests
stage
:
tests
script
:
script
:
-
nix-build nix/pkgs.nix -A ocaml-ng.ocamlPackages_
4_12
.eva-tests
-
nix-build nix/pkgs.nix -A ocaml-ng.ocamlPackages_
$OCAML
.eva-tests
tags
:
tags
:
-
nix
-
nix
kernel-tests
:
kernel-tests
:
stage
:
tests
stage
:
tests
script
:
script
:
-
nix-build nix/pkgs.nix -A ocaml-ng.ocamlPackages_
4_12
.kernel-tests
-
nix-build nix/pkgs.nix -A ocaml-ng.ocamlPackages_
$OCAML
.kernel-tests
tags
:
tags
:
-
nix
-
nix
...
@@ -114,7 +114,7 @@ mthread:
...
@@ -114,7 +114,7 @@ mthread:
plugins-tests
:
plugins-tests
:
stage
:
tests
stage
:
tests
script
:
script
:
-
nix-build nix/pkgs.nix -A ocaml-ng.ocamlPackages_
4_12
.plugins-tests
-
nix-build nix/pkgs.nix -A ocaml-ng.ocamlPackages_
$OCAML
.plugins-tests
tags
:
tags
:
-
nix
-
nix
...
@@ -135,7 +135,7 @@ volatile:
...
@@ -135,7 +135,7 @@ volatile:
wp-tests
:
wp-tests
:
stage
:
tests
stage
:
tests
script
:
script
:
-
nix-build nix/pkgs.nix -A ocaml-ng.ocamlPackages_
4_12
.wp-tests
-
nix-build nix/pkgs.nix -A ocaml-ng.ocamlPackages_
$OCAML
.wp-tests
tags
:
tags
:
-
nix
-
nix
...
@@ -146,7 +146,7 @@ wp-tests:
...
@@ -146,7 +146,7 @@ wp-tests:
manuals
:
# TODO: restore doc companions
manuals
:
# TODO: restore doc companions
stage
:
distrib_and_compatibility
stage
:
distrib_and_compatibility
script
:
script
:
-
nix-build nix/pkgs.nix -A ocaml-ng.ocamlPackages_
4_12
.manuals
-
nix-build nix/pkgs.nix -A ocaml-ng.ocamlPackages_
$OCAML
.manuals
tags
:
tags
:
-
nix
-
nix
when
:
manual
when
:
manual
...
@@ -166,6 +166,18 @@ manuals: # TODO: restore doc companions
...
@@ -166,6 +166,18 @@ manuals: # TODO: restore doc companions
-
result/user-manual.pdf
-
result/user-manual.pdf
-
result/wp-manual.pdf
-
result/wp-manual.pdf
.build_template
:
&frama-c-ocaml
stage
:
distrib_and_compatibility
script
:
-
nix-build nix/pkgs.nix -A ocaml-ng.ocamlPackages_$OCAML.default-config-tests
tags
:
-
nix
frama-c-ocaml-4.13
:
variables
:
OCAML
:
"
4_13"
<<
:
*frama-c-ocaml
################################################################################
################################################################################
### PUBLIC
### PUBLIC
...
...
This diff is collapsed.
Click to expand it.
build-distrib.sh
0 → 100755
+
20
−
0
View file @
dabd36da
#! /usr/bin/bash
if
[[
$#
>
1
]]
;
then
echo
"usage:
$0
[ configuration_file ]"
exit
1
elif
[[
$#
=
1
]]
;
then
source
$1
fi
VERSION
=
${
VERSION
:-
$(
cat
VERSION
)
}
CODENAME
=
${
CODENAME
:-
$(
cat
VERSION_CODENAME
)
}
FRAMAC
=
frama-c-
$VERSION
-
$CODENAME
FPATH
=
$FRAMAC
/
git archive
--format
=
tar
--prefix
$FPATH
HEAD
>
$FRAMAC
.tar
TRANSFO
=
"s,^,
$FPATH
,"
tar
rf
$FRAMAC
.tar configure
--transform
$TRANSFO
This diff is collapsed.
Click to expand it.
nix/default-config-tests.nix
0 → 100644
+
43
−
0
View file @
dabd36da
{
lib
,
stdenv
,
frama-c
,
perl
,
time
,
which
}:
stdenv
.
mkDerivation
rec
{
pname
=
"default-config-tests"
;
version
=
frama-c
.
version
;
slang
=
frama-c
.
slang
;
build_dir
=
frama-c
.
build_dir
;
src
=
build_dir
+
"/dir.tar"
;
sourceRoot
=
"."
;
buildInputs
=
frama-c
.
buildInputs
++
[
frama-c
perl
time
which
];
postPatch
=
''
patchShebangs .
''
;
# Keep main configuration
configurePhase
=
''
true
''
;
buildPhase
=
''
dune exec -- frama-c-ptests tests src/plugins/*/tests
dune build -j1 --display short @ptests_config
''
;
# No installation required
installPhase
=
''
touch $out
''
;
}
This diff is collapsed.
Click to expand it.
nix/pkgs.nix
+
1
−
0
View file @
dabd36da
...
@@ -12,6 +12,7 @@ let
...
@@ -12,6 +12,7 @@ let
frama-c
=
oself
.
callPackage
./frama-c.nix
{};
frama-c
=
oself
.
callPackage
./frama-c.nix
{};
lint
=
oself
.
callPackage
./lint.nix
{};
lint
=
oself
.
callPackage
./lint.nix
{};
# Tests
# Tests
default-config-tests
=
oself
.
callPackage
./default-config-tests.nix
{};
e-acsl-tests
=
oself
.
callPackage
./e-acsl-tests.nix
{};
e-acsl-tests
=
oself
.
callPackage
./e-acsl-tests.nix
{};
eva-tests
=
oself
.
callPackage
./eva-tests.nix
{};
eva-tests
=
oself
.
callPackage
./eva-tests.nix
{};
kernel-tests
=
oself
.
callPackage
./kernel-tests.nix
{};
kernel-tests
=
oself
.
callPackage
./kernel-tests.nix
{};
...
...
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