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
09b65855
Commit
09b65855
authored
2 years ago
by
Allan Blanchard
Browse files
Options
Downloads
Patches
Plain Diff
[ci] renaming of scripts
parent
039e82c0
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
.gitlab-ci.yml
+19
-139
19 additions, 139 deletions
.gitlab-ci.yml
nix/external-plugin-ci.sh
+3
-1
3 additions, 1 deletion
nix/external-plugin-ci.sh
nix/frama-ci.sh
+0
-12
0 additions, 12 deletions
nix/frama-ci.sh
with
22 additions
and
152 deletions
.gitlab-ci.yml
+
19
−
139
View file @
09b65855
...
...
@@ -45,34 +45,41 @@ lint:
tags
:
-
nix
# build-distrib-tarball:
# stage: build
# script:
# -
# tags:
# - nix
################################################################################
### TESTS
acsl-importer
:
stage
:
tests
script
:
-
./ci.sh ACSL-importer
-
./
nix/external-plugin-
ci.sh ACSL-importer
tags
:
-
nix
caveat-importer
:
stage
:
tests
script
:
-
./ci.sh Caveat-importer
-
./
nix/external-plugin-
ci.sh Caveat-importer
tags
:
-
nix
cfp
:
stage
:
tests
script
:
-
./ci.sh context-from-precondition
-
./
nix/external-plugin-
ci.sh context-from-precondition
tags
:
-
nix
genassigns
:
stage
:
tests
script
:
-
./ci.sh genassigns
-
./
nix/external-plugin-
ci.sh genassigns
tags
:
-
nix
...
...
@@ -100,14 +107,14 @@ kernel-tests:
metacsl
:
stage
:
tests
script
:
-
./ci.sh meta
-
./
nix/external-plugin-
ci.sh meta
tags
:
-
nix
mthread
:
stage
:
tests
script
:
-
./ci.sh mthread
-
./
nix/external-plugin-
ci.sh mthread
tags
:
-
nix
...
...
@@ -121,14 +128,14 @@ plugins-tests:
security
:
stage
:
tests
script
:
-
./ci.sh security
-
./
nix/external-plugin-
ci.sh security
tags
:
-
nix
volatile
:
stage
:
tests
script
:
-
./ci.sh Volatile
-
./
nix/external-plugin-
ci.sh Volatile
tags
:
-
nix
...
...
@@ -139,7 +146,6 @@ wp-tests:
tags
:
-
nix
################################################################################
### DISTRIB
...
...
@@ -186,104 +192,18 @@ manuals: # TODO: restore doc companions
################################################################################
### PUBLIC
# wp-qualif:
# stage: tests
# script:
# - nix/frama-ci.sh build -A frama-c.wp-qualif
# tags:
# - nix
# allow_failure: true
# aorai-prove:
# stage: tests
# script:
# - nix/frama-ci.sh build -A frama-c.aorai-prove
# tags:
# - nix
# allow_failure: true
# genassigns:
# stage: tests
# script:
# - nix/frama-ci.sh build -A genassigns.tests
# tags:
# - nix
# frama-clang:
# stage: tests
# script:
# - nix/frama-ci.sh build -A frama-clang.tests
# tags:
# - nix
# counter-examples:
# stage: tests
# script:
# - nix/frama-ci.sh build -A counter-examples.tests
# tags:
# - nix
# acsl-importer:
# stage: tests
# script:
# - nix/frama-ci.sh build -A acsl-importer.tests
# tags:
# - nix
# volatile:
# stage: tests
# script:
# - nix/frama-ci.sh build -A volatile.tests
# tags:
# - nix
# metacsl:
# stage: tests
# script:
# - nix/frama-ci.sh build -A meta.tests
# tags:
# - nix
# Security:
# stage: tests
# script:
# - nix/frama-ci.sh build -A security.tests
# tags:
# - nix
# CFP:
# stage: tests
# script:
# - nix/frama-ci.sh build -A context-from-precondition.tests
# tags:
# - nix
# eva-tests:
# stage: tests
# script:
# - nix/frama-ci.sh build -A frama-c.eva-tests
# tags:
# - nix
# allow_failure: true
# build-distrib-tarball:
# stage: build
# script:
# - nix/frama-ci.sh build -A frama-c.build-distrib-tarball
# tags:
# - nix
# build-from-distrib-tarball:
# stage: tests
# script:
# -
nix/frama-ci.sh build -A frama-c.build-from-distrib-tarball
# -
# tags:
# - nix
# doc:
# stage: tests
# script:
# -
nix/frama-ci.sh build -A frama-c.doc
# -
# tags:
# - nix
# allow_failure: true
...
...
@@ -296,56 +216,16 @@ manuals: # TODO: restore doc companions
# internal:
# <<: *internal_template
# script:
# -
nix/frama-ci.sh build -A frama-c.internal
# -
# when: manual
# internal_nightly:
# <<: *internal_template
# script:
# -
nix/frama-ci.sh build -A frama-c.internal
# -
# only:
# - schedules
# .build_template: &frama-c-ocaml
# stage: distrib_and_compatibility
# script:
# - nix/frama-ci.sh build -A frama-c.tests
# tags:
# - nix
# frama-c-ocaml-4.13:
# variables:
# OCAML: "4_13"
# <<: *frama-c-ocaml
# caveat-importer:
# stage: tests
# script:
# - nix/frama-ci.sh build -A caveat-importer.tests
# tags:
# - nix
# mthread:
# stage: tests
# script:
# - nix/frama-ci.sh build -A mthread.tests
# tags:
# - nix
# pathcrawler:
# stage: tests
# script:
# - nix/frama-ci.sh build -A pathcrawler.tests
# tags:
# - nix
# e-acsl-tests-dev:
# stage: tests
# script:
# - nix/frama-ci.sh build -A frama-c.e-acsl-tests-dev
# tags:
# - nix
# ivette:
# stage: build
# image: node:lts-gallium
...
...
This diff is collapsed.
Click to expand it.
ci.sh
→
nix/external-plugin-
ci.sh
+
3
−
1
View file @
09b65855
...
...
@@ -34,7 +34,9 @@ get_matching_branch () {
fi
}
curdir
=
"
$(
dirname
"
$(
readlink
-f
"
$0
"
)
"
)
"
# fc-dir nix-dir
curdir
=
"
$(
dirname
"
$(
dirname
"
$(
readlink
-f
"
$0
"
)
"
)
"
)
"
git_current_branch
=
"
$(
git branch
--show-current
)
"
:
"
${
git_current_branch
:
=
${
CI_COMMIT_BRANCH
:-}}
"
echo
"currently on branch
$git_current_branch
"
...
...
This diff is collapsed.
Click to expand it.
nix/frama-ci.sh
deleted
100755 → 0
+
0
−
12
View file @
039e82c0
#!/bin/sh -eu
DIR
=
$(
dirname
$0
)
export
FRAMA_CI_NIX
=
$DIR
/frama-ci.nix
export
FRAMA_CI
=
$(
nix-instantiate
--eval
-E
"((import <nixos-20.03> {}).callPackage
$FRAMA_CI_NIX
{ password =
\"
$TOKEN_FOR_API
\"
;}).src.outPath"
)
FRAMA_CI
=
${
FRAMA_CI
#\
"}
FRAMA_CI=
${
FRAMA_CI
%\
"}
export NIX_PATH="
nixpkgs
=
$(
eval echo
$(
nix-instantiate
--eval
-E
"with import
$FRAMA_CI
/pkgs-ref.nix; url"
))
"
$FRAMA_CI
/compile.sh
$@
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