Skip to content

Commit 3bedde0

Browse files
committed
fixing CI
1 parent 1c08650 commit 3bedde0

File tree

5 files changed

+15
-64
lines changed

5 files changed

+15
-64
lines changed

forc-plugins/forc-doc/tests/fixtures/sample_workspace/Forc.lock

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ dependencies = [
1212

1313
[[package]]
1414
name = "std"
15-
source = "path+from-root-0CDB23161116D3A1"
15+
version = "0.69.0"
16+
source = "registry+std?0.69.0#QmSeLFUtVXk8i13owCv87Kga1MfsYgfn7sdj6WimxLwq2g!"

scripts/bisect-forc/bisect-forc.sh

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,15 @@ compile_and_cp_to_cache() {
2020
fi
2121
}
2222

23-
23+
run_cargo() {
24+
if [ "$2" = "" ]; then
25+
bash -c "$CACHE/$CACHENAME build --path $PROJ" &>> /dev/null
26+
echo "$?"
27+
else
28+
bash -c "$CACHE/$CACHENAME $2 --path $PROJ" &>> /dev/null
29+
echo "$?"
30+
fi
31+
}
2432

2533
INITIAL_COMMIT="$(git show -s --format='%H' HEAD)"
2634
END_COMMIT=""
@@ -39,15 +47,6 @@ git log -1 --oneline
3947
echo -n "Running: "
4048

4149
CACHENAME="$(git show -s --format='%as-%ct-%H' HEAD)"
42-
run_cargo() {
43-
if [ "$2" = "" ]; then
44-
bash -c "$CACHE/$CACHENAME build --path $PROJ" &>> /dev/null
45-
echo "$?"
46-
else
47-
bash -c "$CACHE/$CACHENAME $2 --path $PROJ" &>> /dev/null
48-
echo "$?"
49-
fi
50-
}
5150
compile_and_cp_to_cache "$CACHENAME"
5251
INITIAL_COMPILATION_STATUS=$(run_cargo "$1" "$2")
5352

scripts/csv2html/csv2html.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,8 @@ tail -n +2 "$1" | sed -e 's/^/<tr><td>/' -e 's/,/<\/td><td>/g' -e 's/$/<\/td><\/
5757
echo " </tbody>
5858
</table>
5959
<body>
60+
<<<<<<< HEAD
6061
</html>"
62+
=======
63+
</html>"
64+
>>>>>>> bdd5b43f5 (fixing CI)

scripts/csv2html/htmltable2report.sh

Lines changed: 0 additions & 51 deletions
This file was deleted.

test/src/e2e_vm_tests/test_programs/should_pass/test_contracts/const_of_contract_call/snapshot.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
cmds = [
2-
#"echo This test will first run all test together. In this way we can measure the cost of contract method selection.",
3-
#"echo After that, each test will be run isolated, giving a more precise cost of encoding/decoding boilerplate for each type.",
42
"forc test --path {root} --release --experimental const_generics",
53
{ repeat = "for-each-block", cmds = [
64
"replace-file src/main.sw \"fn cost_of_in\" \"fn isolated_cost_of_in\"",

0 commit comments

Comments
 (0)