Skip to content

Commit ff60445

Browse files
Fixed cache and removed -n from pytest
1 parent c01ce6b commit ff60445

1 file changed

Lines changed: 8 additions & 9 deletions

File tree

.github/workflows/main.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ jobs:
88
uses: actions/checkout@v4
99
with:
1010
path: ASPIS
11+
- name: Cache LLVM build
12+
uses: actions/cache@v4
13+
with:
14+
path: /mnt/build/
15+
key: llvm-build-${{ hashFiles('llvm-project/**', 'ASPIS/CMakeLists.txt') }}
16+
restore-keys: |
17+
llvm-build-
1118
- name: Checking out LLVM project
1219
uses: actions/checkout@master
1320
with:
@@ -37,14 +44,6 @@ jobs:
3744
mkdir build
3845
cmake -B build -DLLVM_DIR=/mnt/build/lib/cmake/llvm/
3946
cmake --build build
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-
4847
- name: Cache pip
4948
uses: actions/cache@v4
5049
with:
@@ -61,5 +60,5 @@ jobs:
6160
shell: bash
6261
working-directory: ./ASPIS/testing
6362
run: |
64-
pytest test.py -n auto
63+
pytest test.py
6564

0 commit comments

Comments
 (0)