Skip to content
Snippets Groups Projects
Commit bcb456a5 authored by François Bobot's avatar François Bobot
Browse files

Merge branch 'feature/opam2' into 'master'

Update Frama-CI data

See merge request frama-c/frama-c!2278
parents 990feed4 b4bf4045
No related branches found
No related tags found
No related merge requests found
...@@ -63,7 +63,8 @@ rec { ...@@ -63,7 +63,8 @@ rec {
lint = stdenv.mkDerivation { lint = stdenv.mkDerivation {
name = "frama-c-lint"; name = "frama-c-lint";
inherit src; inherit src;
buildInputs = (mk_buildInputs {opamPackages = [ "ocp-indent" ];} ) ++ [ pkgs.bc plugins.headache.installed ]; buildInputs = (mk_buildInputs { opamPackages = [ { name = "ocp-indent"; constraint = "=1.6.1"; } ];} )
++ [ pkgs.bc plugins.headache.installed ];
outputs = [ "out" ]; outputs = [ "out" ];
postPatch = '' postPatch = ''
patchShebangs . patchShebangs .
...@@ -228,7 +229,7 @@ rec { ...@@ -228,7 +229,7 @@ rec {
sed -i src/plugins/pathcrawler/extern/eclipseCLP/RUNME -e "s/chmod 2755/chmod 755/g" sed -i src/plugins/pathcrawler/extern/eclipseCLP/RUNME -e "s/chmod 2755/chmod 755/g"
rm src/plugins/pathcrawler/extern/eclipseCLP/lib/x86_64_linux/dbi_mysql.so rm src/plugins/pathcrawler/extern/eclipseCLP/lib/x86_64_linux/dbi_mysql.so
rm src/plugins/pathcrawler/extern/eclipseCLP/lib/x86_64_linux/ic.so rm src/plugins/pathcrawler/extern/eclipseCLP/lib/x86_64_linux/ic.so
prefix="src/plugins/pathcrawler" autoPatchelf autoPatchelf src/plugins/pathcrawler
make -j 4 make -j 4
ln -sr src/plugins/pathcrawler/share share/pc ln -sr src/plugins/pathcrawler/share share/pc
make tests -j4 PTESTS_OPTS="-error-code -j 4" make tests -j4 PTESTS_OPTS="-error-code -j 4"
......
...@@ -5,8 +5,8 @@ let ...@@ -5,8 +5,8 @@ let
src = builtins.fetchGit { src = builtins.fetchGit {
"url" = "https://bobot:${password}@git.frama-c.com/frama-c/Frama-CI.git"; "url" = "https://bobot:${password}@git.frama-c.com/frama-c/Frama-CI.git";
"name" = "Frama-CI"; "name" = "Frama-CI";
"rev" = "ed541f6e3818da2bf31125740b8555acb086ca29"; "rev" = "cea0f2d2872e59fd3e6fe4634891a3765c7036e8";
"ref" = "feature/andre/yojson-mandatory-dependence"; "ref" = "feature/opam2";
}; };
in in
{ {
......
...@@ -4,7 +4,7 @@ DIR=$(dirname $0) ...@@ -4,7 +4,7 @@ DIR=$(dirname $0)
export FRAMA_CI_NIX=$DIR/frama-ci.nix export FRAMA_CI_NIX=$DIR/frama-ci.nix
export FRAMA_CI=$(nix-instantiate --eval -E "((import <nixpkgs> {}).callPackage $FRAMA_CI_NIX { password = \"$TOKEN_FOR_API\";}).src.outPath") export FRAMA_CI=$(nix-instantiate --eval -E "((import <nixos-19.03> {}).callPackage $FRAMA_CI_NIX { password = \"$TOKEN_FOR_API\";}).src.outPath")
FRAMA_CI=${FRAMA_CI#\"} FRAMA_CI=${FRAMA_CI#\"}
FRAMA_CI=${FRAMA_CI%\"} FRAMA_CI=${FRAMA_CI%\"}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment