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

Fix Continuous Integration #700

Merged
merged 7 commits into from
Jan 24, 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
30 changes: 24 additions & 6 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,18 @@ jobs:
submodules: 'recursive'
fetch-depth: '0'

- name: 'apt install'
- name: 'apt install boost'
run: |
sudo apt update
sudo apt install libboost-all-dev

- name: 'pip install'
- name: 'apt install cargo (+ cbindgen)'
run: |
sudo apt update
sudo apt install cargo
cargo install --force cbindgen

- name: 'pip install wget'
run: |
sudo pip install wget

Expand Down Expand Up @@ -123,12 +129,18 @@ jobs:
submodules: 'recursive'
fetch-depth: '0'

- name: 'apt install'
- name: 'apt install boost'
run: |
sudo apt update
sudo apt install libboost-all-dev

- name: 'pip install'
- name: 'apt install cargo (+ cbindgen)'
run: |
sudo apt update
sudo apt install cargo
cargo install --force cbindgen

- name: 'pip install wget'
run: |
sudo pip install wget

Expand Down Expand Up @@ -178,12 +190,18 @@ jobs:
submodules: 'recursive'
fetch-depth: '0'

- name: 'apt install'
- name: 'apt install boost'
run: |
sudo apt update
sudo apt install libboost-all-dev

- name: 'pip install'
- name: 'apt install cargo (+ cbindgen)'
run: |
sudo apt update
sudo apt install cargo
cargo install --force cbindgen

- name: 'pip install wget'
run: |
sudo pip install wget

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
if: always()
run: |
lcov -c -d build/ -o ./coverage.info
lcov --remove coverage.info --output-file coverage.info "/usr/*" "*/external/*" "./test/*"
lcov --remove coverage.info --output-file coverage.info --ignore-errors unused "/usr/*" "*/external/*" "./test/*"

- name: Upload report to Codecov.io
working-directory: ${{runner.workspace}}
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,16 @@ jobs:
os: [ubuntu-latest]
cc:
# GNU Compiler
- { cc: gcc, v: 10, cxx: g++ } # oldest possible
- { cc: gcc, v: 11, cxx: g++ } # default
- { cc: gcc, v: 12, cxx: g++ } # newest
- { cc: gcc, v: 12, cxx: g++ }
- { cc: gcc, v: 13, cxx: g++ }
- { cc: gcc, v: 14, cxx: g++ }

# Clang Compiler
# - { cc: clang, v: 11, cxx: clang++ } # oldest possible
- { cc: clang, v: 12, cxx: clang++ } # oldest supported
- { cc: clang, v: 14, cxx: clang++ } # default
- { cc: clang, v: 15, cxx: clang++ } # newst possible
- { cc: clang, v: 14, cxx: clang++ }
- { cc: clang, v: 15, cxx: clang++ }
- { cc: clang, v: 16, cxx: clang++ }
- { cc: clang, v: 17, cxx: clang++ }

env:
cc: ${{matrix.cc.cc}}-${{matrix.cc.v}}
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ jobs:
# - { cc: gcc, v: 13, cxx: g++, xcode: latest }

# Clang Compiler
- { cc: clang, cxx: clang++, xcode: 14.3 } # oldest supported
- { cc: clang, cxx: clang++, xcode: 15.0 }
- { cc: clang, cxx: clang++, xcode: 15.4 }
- { cc: clang, cxx: clang++, xcode: 16.1 }
- { cc: clang, cxx: clang++, xcode: latest }

steps:
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/static_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,3 @@ jobs:
with:
message-path: ./cppcheck_report.txt
message-id: 'cppcheck'

clang-format-checking:
name: 'Clang Format'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: RafikFarhad/clang-format-github-action@v4
with:
style: "file"
sources: "src/**/*.h,src/**/*.cpp,test/**/*.h,test/**/*.cpp"
12 changes: 12 additions & 0 deletions .github/workflows/system_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ jobs:
sudo apt update
sudo apt install libboost-all-dev

- name: Apt | install cargo + cbindgen
run: |
sudo apt update
sudo apt install cargo
cargo install --force cbindgen

- name: CMake | build
run: |
cmake -E make_directory build
Expand Down Expand Up @@ -137,6 +143,12 @@ jobs:
sudo apt update
sudo apt install libboost-all-dev

- name: Apt | install cargo + cbindgen
run: |
sudo apt update
sudo apt install cargo
cargo install --force cbindgen

- name: CMake | build
run: |
cmake -E make_directory build
Expand Down
Loading