Skip to content

Commit

Permalink
CI: fix libjade jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl authored and eponier committed Aug 28, 2024
1 parent e18d9f1 commit a029e7f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ libjade-compile-to-asm:
artifacts:
when: always
paths:
- libjade-main/src/check.tar.gz
- libjade/src/check.tar.gz

libjade-extract-to-ec:
stage: test
Expand All @@ -224,7 +224,7 @@ libjade-extract-to-ec:
artifacts:
when: always
paths:
- libjade-main/proof/check.tar.gz
- libjade/proof/check.tar.gz

test-extract-to-ec:
stage: test
Expand Down
10 changes: 7 additions & 3 deletions scripts/test-libjade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ NAME=libjade
BRANCH=main

FILE="$NAME.tar.gz"
ROOT="$NAME-$BRANCH"
ROOT=$(echo -n $NAME-$BRANCH | tr / -)

[ 1 -le $# ] || exit 127

DIR="$ROOT/$1"
DIR="libjade/$1"

MAKELINE="-C $DIR CI=1 JASMIN=$PWD/compiler/jasminc"

Expand All @@ -18,7 +18,11 @@ export EXCLUDE=""

echo "Info: $MAKELINE (EXCLUDE=$EXCLUDE)"

curl -v -o $FILE https://codeload.github.com/$REPO/$NAME/tar.gz/refs/heads/$BRANCH
curl -v -o $FILE https://codeload.github.com/$REPO/$NAME/tar.gz/$BRANCH
tar xvf $FILE
rm -rf libjade/
mv $ROOT libjade

mv libjade/oldsrc-should-delete/ libjade/src

make $MAKELINE

0 comments on commit a029e7f

Please sign in to comment.