Skip to content

Commit

Permalink
Merge pull request #43 from analogdevicesinc/doc-spectral-analysis
Browse files Browse the repository at this point in the history
Doc cleanup and a new page on spectral analysis using Genalyzer
  • Loading branch information
SrikanthPagadarai authored Nov 4, 2024
2 parents ac2ad93 + 4aadb21 commit ec4523a
Show file tree
Hide file tree
Showing 82 changed files with 7,340 additions and 6,810 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-pypi-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.7
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.7

Expand Down
25 changes: 17 additions & 8 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: 3.7
python-version: '3.10'

- name: Install dependencies
run: |
Expand All @@ -23,6 +23,15 @@ jobs:
mkdir -p build
cd build
cmake .. -DBUILD_DOC=ON
make genalyzer -j4
sudo make install genalyzer
sudo ldconfig
cd ../bindings/python
pip install ".[tools]"
cd ../../build
sudo rm -rf *
sudo rm ../doc/reference_simplified.md
cmake .. -DBUILD_DOC=ON
make Sphinx
Expand All @@ -32,11 +41,11 @@ jobs:
if: github.ref == 'refs/heads/main'

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: 3.7
python-version: '3.10'

- name: Install dependencies
run: |
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/test-win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.7
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.7

Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
ctest -V -C Release
- name: Archive generated DLLs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: DLLs
path: src\Release\
Expand All @@ -63,9 +63,9 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.7
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.7

Expand Down Expand Up @@ -113,13 +113,13 @@ jobs:
shell: cmd

- name: Archive Windows exe installer
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: EXE-Installer
path: C:\genalyzer-setup.exe

- name: Download artifact installer
uses: actions/download-artifact@v1
uses: actions/download-artifact@v4
with:
name: EXE-Installer
path: win_build
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
container:
image: ${{ matrix.images }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.7
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.7

Expand All @@ -42,11 +42,11 @@ jobs:
cp build/bindings/c/src/libgenalyzer.so* libs/
cp build/src/libgenalyzer_plus_plus.a* libs/
cp bindings/c/include/cgenalyzer.h libs/
cp bindings/c/include/cgenalyzer_advanced.h libs/
cp bindings/c/include/cgenalyzer_simplified_beta.h libs/
cp bindings/matlab/genalyzer.m libs/
- name: Archive generated SOs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.label }}-Build
path: libs/
Expand All @@ -61,7 +61,7 @@ jobs:
# container:
# image: ${{ matrix.images }}
# steps:
# - uses: actions/checkout@v2
# - uses: actions/checkout@v4
# - name: Install dependencies
# run: |
# bash ./.github/scripts/install_dependencies_rhel.sh
Expand All @@ -78,11 +78,11 @@ jobs:
# cp build/bindings/c/src/libgenalyzer.so* libs/
# cp build/src/libgenalyzer_plus_plus.a* libs/
# cp bindings/c/include/cgenalyzer.h libs/
# cp bindings/c/include/cgenalyzer_advanced.h libs/
# cp bindings/c/include/cgenalyzer_simplified_beta.h libs/
# cp bindings/matlab/genalyzer.m libs/

# - name: Archive generated SOs
# uses: actions/upload-artifact@v2
# uses: actions/upload-artifact@v4
# with:
# name: RHEL_7-Build
# path: libs/
Expand All @@ -91,9 +91,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.7
uses: actions/setup-python@v2
uses: actions/setup-python@v3
with:
python-version: 3.7

Expand All @@ -111,17 +111,17 @@ jobs:
make coverage
- name: Coveralls
uses: coverallsapp/github-action@v1
uses: coverallsapp/github-action@v2
with:
path-to-lcov: build/main_coverage.info

TestCMacOS:
runs-on: macos-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.8

Expand All @@ -143,9 +143,9 @@ jobs:
python-version: [3.7, 3.8, 3.9]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}

Expand Down
2 changes: 1 addition & 1 deletion bindings/c/include/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
install(FILES cgenalyzer.h cgenalyzer_advanced.h DESTINATION include/)
install(FILES cgenalyzer_simplified_beta.h cgenalyzer.h DESTINATION include/)
Loading

0 comments on commit ec4523a

Please sign in to comment.