Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github Actions Update #57

Merged
merged 2 commits into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/deploy-pypi-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

jobs:
PyPITestingDeploy:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

jobs:
PyPIDeploy:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
Expand Down
31 changes: 11 additions & 20 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,12 @@ on: [push, pull_request]

jobs:
TestC:
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
images: ["debian:buster", "debian:bullseye", "ubuntu:20.04"]
include:
- images: "debian:buster"
label: "Debian_10"
- images: "debian:bullseye"
label: "Debian_11"
- images: "ubuntu:20.04"
label: "Ubuntu_20_04"

container:
image: ${{ matrix.images }}
os: [ubuntu-20.04, ubuntu-22.04]

steps:
- uses: actions/checkout@v4
- name: Set up Python 3.7
Expand Down Expand Up @@ -48,7 +39,7 @@ jobs:
- name: Archive generated SOs
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.label }}-Build
name: ${{ matrix.os }}-Build
path: libs/

# TestCCentOS:
Expand Down Expand Up @@ -88,7 +79,7 @@ jobs:
# path: libs/

CoverageTest:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -137,15 +128,15 @@ jobs:
sudo make install

TestPython:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: [3.8, 3.9, "3.10", "3.11"]

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

Expand All @@ -163,7 +154,7 @@ jobs:
for f in examples/*.py; do python "$f"; done

Lint:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
Expand All @@ -186,4 +177,4 @@ jobs:
pre-commit run --all-files 2> /dev/null
ec=$?
git diff -U0 > log.txt && cat log.txt
exit $ec
exit $ec
2 changes: 1 addition & 1 deletion bindings/c/include/cgenalyzer.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef CGENALYZER_H
Expand Down
2 changes: 1 addition & 1 deletion bindings/c/include/cgenalyzer_private.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef CGENALYZER_PRIVATE_H
Expand Down
2 changes: 1 addition & 1 deletion bindings/c/include/cgenalyzer_simplified_beta.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef CGENALYZER_SIMPLIFIED_BETA_H
Expand Down
2 changes: 1 addition & 1 deletion bindings/c/src/cgenalyzer.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#include "cgenalyzer.h"
Expand Down
2 changes: 1 addition & 1 deletion bindings/c/src/cgenalyzer_simplified_beta.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#include "cgenalyzer_simplified_beta.h"
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/genalyzer/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2024 Analog Devices, Inc.
# Copyright (C) 2024-2025 Analog Devices, Inc.
#
# SPDX short identifier: ADIBSD OR GPL-2.0-or-later
"""Python bindings for Genalyzer"""
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/genalyzer/helpers/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2024 Analog Devices, Inc.
# Copyright (C) 2024-2025 Analog Devices, Inc.
#
# SPDX short identifier: ADIBSD OR GPL-2.0-or-later
try:
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/genalyzer/helpers/waveform_gen.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2024 Analog Devices, Inc.
# Copyright (C) 2024-2025 Analog Devices, Inc.
#
# SPDX short identifier: ADIBSD OR GPL-2.0-or-later
from ..simplified_beta import (
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/genalyzer/pygenalyzer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2024 Analog Devices, Inc.
# Copyright (C) 2024-2025 Analog Devices, Inc.
#
# SPDX short identifier: ADIBSD OR GPL-2.0-or-later

Expand Down
2 changes: 1 addition & 1 deletion bindings/python/genalyzer/simplified_beta/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2024 Analog Devices, Inc.
# Copyright (C) 2024-2025 Analog Devices, Inc.
#
# SPDX short identifier: ADIBSD OR GPL-2.0-or-later
from .simplified_beta import (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 2024 Analog Devices, Inc.
# Copyright (C) 2024-2025 Analog Devices, Inc.
#
# SPDX short identifier: ADIBSD OR GPL-2.0-or-later

Expand Down
2 changes: 1 addition & 1 deletion include/array_ops.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef GENALYZER_IMPL_ARRAY_OPS_HPP
Expand Down
2 changes: 1 addition & 1 deletion include/code_density.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef GENALYZER_IMPL_CODE_DENSITY_HPP
Expand Down
2 changes: 1 addition & 1 deletion include/constants.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef GENALYZER_IMPL_CONSTANTS_HPP
Expand Down
2 changes: 1 addition & 1 deletion include/enum_map.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef GENALYZER_IMPL_ENUM_MAP_HPP
Expand Down
2 changes: 1 addition & 1 deletion include/enum_maps.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef GENALYZER_IMPL_ENUM_MAPS_HPP
Expand Down
2 changes: 1 addition & 1 deletion include/enums.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef GENALYZER_IMPL_ENUMS_HPP
Expand Down
2 changes: 1 addition & 1 deletion include/exceptions.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef GENALYZER_IMPL_EXCEPTIONS_HPP
Expand Down
2 changes: 1 addition & 1 deletion include/expression.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef GENALYZER_IMPL_EXPRESSION_HPP
Expand Down
2 changes: 1 addition & 1 deletion include/formatted_data.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef GENALYZER_IMPL_FORMATTED_DATA_HPP
Expand Down
2 changes: 1 addition & 1 deletion include/fourier_analysis.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef GENALYZER_IMPL_FOURIER_ANALYSIS_HPP
Expand Down
2 changes: 1 addition & 1 deletion include/fourier_analysis_comp_mask.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef GENALYZER_IMPL_FOURIER_ANALYSIS_COMP_MASK_HPP
Expand Down
2 changes: 1 addition & 1 deletion include/fourier_analysis_component.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef GENALYZER_IMPL_FOURIER_ANALYSIS_COMPONENT_HPP
Expand Down
2 changes: 1 addition & 1 deletion include/fourier_analysis_results.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef GENALYZER_IMPL_FOURIER_ANALYSIS_RESULTS_HPP
Expand Down
2 changes: 1 addition & 1 deletion include/fourier_transforms.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef GENALYZER_IMPL_FOURIER_TRANSFORMS_HPP
Expand Down
2 changes: 1 addition & 1 deletion include/fourier_utilities.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef GENALYZER_IMPL_FOURIER_UTILITIES_HPP
Expand Down
2 changes: 1 addition & 1 deletion include/manager.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef GENALYZER_IMPL_MANAGER_HPP
Expand Down
2 changes: 1 addition & 1 deletion include/object.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef GENALYZER_IMPL_OBJECT_HPP
Expand Down
2 changes: 1 addition & 1 deletion include/processes.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef GENALYZER_IMPL_PROCESSES_HPP
Expand Down
2 changes: 1 addition & 1 deletion include/reductions.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef GENALYZER_IMPL_REDUCTIONS_HPP
Expand Down
2 changes: 1 addition & 1 deletion include/type_aliases.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef GENALYZER_IMPL_TYPE_ALIASES_HPP
Expand Down
2 changes: 1 addition & 1 deletion include/utils.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef GENALYZER_IMPL_UTILS_HPP
Expand Down
2 changes: 1 addition & 1 deletion include/version.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#define GENALYZER_VERSION_MAJOR 1
Expand Down
2 changes: 1 addition & 1 deletion include/version.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef GENALYZER_IMPL_VERSION_HPP
Expand Down
2 changes: 1 addition & 1 deletion include/waveforms.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#ifndef GENALYZER_IMPL_WAVEFORMS_HPP
Expand Down
2 changes: 1 addition & 1 deletion src/array_ops.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#include "array_ops.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/code_density.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#include "code_density.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/enum_map.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#include "enum_map.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/enum_maps.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#include "enum_maps.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/expression.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#include "expression.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/formatted_data.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#include "formatted_data.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/fourier_analysis.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#include "fourier_analysis.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/fourier_analysis_comp_mask.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#include "fourier_analysis_comp_mask.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/fourier_transforms.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#include "fourier_transforms.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/fourier_utilities.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#include "fourier_utilities.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/json.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#include "fourier_analysis.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/manager.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#include "manager.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/platform.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#include "type_aliases.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/processes.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#include "processes.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/utils.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (C) 2024 Analog Devices, Inc.
// Copyright (C) 2024-2025 Analog Devices, Inc.
//
// SPDX short identifier: ADIBSD OR GPL-2.0-or-later
#include "utils.hpp"
Expand Down
Loading
Loading