Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

Commit f1f7880

Browse files
committed
wip: fixing the github actions ci/tests
1 parent aa9c1a8 commit f1f7880

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

.github/workflows/tests.yml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,31 @@ jobs:
2020
python-version: '3.12'
2121

2222
- name: Install build dependencies
23-
run: sudo apt-get update && sudo apt-get install -y git cmake ninja-build build-essential python3 gcc curl
24-
25-
- name: Download libqs-python
2623
run: |
27-
curl -L https://github.com/open-quantum-safe/liboqs-python/archive/refs/tags/0.12.0.tar.gz -o liboqs-python.tar.gz
28-
mkdir liboqs-python
29-
tar -xzf liboqs-python.tar.gz --strip-components=1 -C liboqs-python
24+
sudo apt update
25+
26+
sudo apt install astyle cmake gcc ninja-build libssl-dev python3-pytest python3-pytest-xdist unzip xsltproc doxygen graphviz python3-yaml valgrind
3027
31-
- name: Build and install liboqs and its Python bindings
28+
- name: Download and build liboqs
29+
run: |
30+
git clone --depth=1 https://github.com/open-quantum-safe/liboqs
31+
cmake -S liboqs -B liboqs/build -DBUILD_SHARED_LIBS=ON
32+
cmake --build liboqs/build --parallel 8
33+
cmake --build liboqs/build --target install
34+
35+
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
36+
37+
- name: Download and build and liboqs-python
3238
run: |
39+
git clone --depth=1 https://github.com/open-quantum-safe/liboqs-python
3340
cd liboqs-python
3441
pip install .
42+
cd ..
43+
rm -rf liboqs*
3544
- name: Install Python dependencies
3645
run: |
3746
pip install -r requirements.txt
3847
pip install pytest
3948
4049
- name: Run tests
41-
run: pytest --maxfail=1 --disable-warnings -q
50+
run: pytest

0 commit comments

Comments
 (0)