provide an alternate way to set liboqs path #91
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GitHub actions simplified | |
on: | |
push: | |
branches: ["**"] | |
pull_request: | |
branches: ["**"] | |
repository_dispatch: | |
types: ["**"] | |
permissions: | |
contents: read | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
- name: Run examples | |
run: | | |
python -m pip install --upgrade pip | |
pip install . | |
python examples/kem.py | |
python examples/sig.py | |
python examples/rand.py | |
- name: Run unit tests | |
run: | | |
nose2 --verbose |