Skip to content

Commit

Permalink
Dependencies update
Browse files Browse the repository at this point in the history
  • Loading branch information
zjkmxy committed Feb 4, 2024
1 parent affa173 commit 5f3160d
Show file tree
Hide file tree
Showing 7 changed files with 966 additions and 1,154 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,39 +8,44 @@ on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions:
contents: read

jobs:
build:
# The type of runner that the job will run on
runs-on: ${{ matrix.os }}

strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, ubuntu-20.04]
python-version: ['3.9', '3.10', 'pypy-3.9']
os: [ubuntu-latest]
python-version: ['3.12', 'pypy-3.10']

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3

- name: Set up Python
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}

- name: Upgrade pip
run: |
python -m pip install --upgrade pip
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install libboost-all-dev python3-setuptools
git clone --depth=1 --recursive --branch ndn-cxx-0.8.0 https://github.com/named-data/ndn-cxx.git
git clone --depth=1 --recursive --branch ndn-cxx-0.8.1 https://github.com/named-data/ndn-cxx.git
cd ndn-cxx
sudo ./waf configure && sudo ./waf && sudo ./waf install && cd ..
git clone --depth=1 --recursive --branch NFD-22.02 https://github.com/named-data/NFD.git && cd NFD
git clone --depth=1 --recursive --branch NFD-22.12 https://github.com/named-data/NFD.git && cd NFD
sudo ./waf configure --without-libpcap --without-websocket && sudo ./waf && sudo ./waf install && cd ..
sudo ldconfig
ndnsec-key-gen test
sudo nfd start -c /usr/local/etc/ndn/nfd.conf.sample &
pip3 install pytest
pip3 install wheel
pip3 install .
pip3 install ".[dev]"
- name: Run tests
run: pytest
run: pytest tests
12 changes: 10 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,16 @@ sphinx:
formats:
- pdf

build:
os: ubuntu-22.04
tools:
python: "3.12"

# Optionally set the version of Python and requirements required to build your docs
python:
version: 3.7
install:
- requirements: docs/requirements.txt
- requirements: docs/requirements.txt
- method: pip
path: .
extra_requirements:
- docs
17 changes: 0 additions & 17 deletions Pipfile

This file was deleted.

253 changes: 0 additions & 253 deletions Pipfile.lock

This file was deleted.

Loading

0 comments on commit 5f3160d

Please sign in to comment.