Skip to content

Commit c01ce6b

Browse files
CI workflow for testing
1 parent 5a55687 commit c01ce6b

1 file changed

Lines changed: 26 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,29 @@ jobs:
3737
mkdir build
3838
cmake -B build -DLLVM_DIR=/mnt/build/lib/cmake/llvm/
3939
cmake --build build
40-
40+
- name: Cache LLVM build
41+
uses: actions/cache@v4
42+
with:
43+
path: /mnt/build/
44+
key: llvm-build-${{ hashFiles('llvm-project/**', 'ASPIS/CMakeLists.txt') }}
45+
restore-keys: |
46+
llvm-build-
47+
48+
- name: Cache pip
49+
uses: actions/cache@v4
50+
with:
51+
path: ~/.cache/pip
52+
key: pip-${{ hashFiles('ASPIS/testing/requirements.txt') }}
53+
restore-keys: |
54+
pip-
55+
- name: Install Python requirements
56+
shell: bash
57+
working-directory: ./ASPIS/testing
58+
run: |
59+
pip install -r requirements.txt
60+
- name: Testing ASPIS
61+
shell: bash
62+
working-directory: ./ASPIS/testing
63+
run: |
64+
pytest test.py -n auto
65+

0 commit comments

Comments
 (0)