mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 11:12:48 +03:00
test release fetcher
This commit is contained in:
parent
7d074f368d
commit
031cc98077
64
.github/workflows/acl2.yml
vendored
64
.github/workflows/acl2.yml
vendored
@ -12,34 +12,42 @@ jobs:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
# - name: Install Rust
|
||||
# uses: actions-rs/toolchain@v1
|
||||
# with:
|
||||
# profile: minimal
|
||||
# toolchain: stable
|
||||
# override: true
|
||||
|
||||
# - name: Prepare tgc
|
||||
# run: |
|
||||
# cd acl2 && gunzip leo-acl2.lx86cl64.gz
|
||||
# ls -la .
|
||||
|
||||
# - name: Generate asts
|
||||
# run: |
|
||||
# cargo run -p leo-test-framework --bin tgc
|
||||
|
||||
- name: Download tgc
|
||||
uses: pozetroninc/github-action-get-latest-release@master
|
||||
with:
|
||||
profile: minimal
|
||||
toolchain: stable
|
||||
override: true
|
||||
|
||||
- name: Prepare tgc
|
||||
repository: AleoHQ/leo-acl2-bin
|
||||
|
||||
- name: List files
|
||||
run: |
|
||||
cd acl2 && gunzip leo-acl2.lx86cl64.gz
|
||||
ls -la .
|
||||
ls -la
|
||||
|
||||
- name: Generate asts
|
||||
run: |
|
||||
cargo run -p leo-test-framework --bin tgc
|
||||
ls -l tmp
|
||||
|
||||
- name: Run tgc over the asts
|
||||
run: |
|
||||
ARRAY=();
|
||||
for dir in `ls tmp/tgc`;
|
||||
do
|
||||
cd tmp/tgc/$dir; # enter the directory
|
||||
./../../../acl2/tgc canonicalization initial_ast.json canonicalization_ast.json canonicalization-theorem.lisp || ARRAY+=("$dir");
|
||||
cd ../../..
|
||||
done;
|
||||
echo "Failures:";
|
||||
for i in ${ARRAY[@]};
|
||||
do
|
||||
echo $i;
|
||||
done;
|
||||
# - name: Run tgc over the asts
|
||||
# run: |
|
||||
# ARRAY=();
|
||||
# for dir in `ls tmp/tgc`;
|
||||
# do
|
||||
# cd tmp/tgc/$dir; # enter the directory
|
||||
# ./../../../acl2/tgc canonicalization initial_ast.json canonicalization_ast.json canonicalization-theorem.lisp || ARRAY+=("$dir");
|
||||
# cd ../../..
|
||||
# done;
|
||||
# echo "Failures:";
|
||||
# for i in ${ARRAY[@]};
|
||||
# do
|
||||
# echo $i;
|
||||
# done;
|
||||
|
Loading…
Reference in New Issue
Block a user