-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
176 additions
and
108 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
name: Boost.Test | ||
|
||
on: | ||
push: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: maswag/monaa-test-env | ||
strategy: | ||
max-parallel: 4 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: default build | ||
run: | | ||
mkdir -p build | ||
cd build && cmake .. && make | ||
gcc_unit_test: | ||
runs-on: ubuntu-latest | ||
container: maswag/monaa-test-env | ||
strategy: | ||
max-parallel: 4 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: set gcc env | ||
run: | | ||
export CC=/usr/bin/gcc | ||
export CXX=/usr/bin/g++ | ||
- name: build and test | ||
run: | | ||
mkdir -p gcc_build | ||
cd gcc_build && cmake .. && make unit_test && make test | ||
clang_unit_test: | ||
runs-on: ubuntu-latest | ||
container: maswag/monaa-test-env | ||
strategy: | ||
max-parallel: 4 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: set clang env | ||
run: | | ||
export CC=/usr/bin/clang | ||
export CXX=/usr/bin/clang++ | ||
- name: build and test | ||
run: | | ||
mkdir -p clang_build | ||
cd clang_build && cmake .. && make unit_test && make test | ||
ubuntu_focal: | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
max-parallel: 4 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Install required packages | ||
run: sudo apt-get update && sudo apt-get install cmake libeigen3-dev libboost-all-dev -y | ||
- name: build and test | ||
run: | | ||
mkdir -p build | ||
cd build && cmake .. && make unit_test && make test | ||
ubuntu_jammy: | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
max-parallel: 4 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Install required packages | ||
run: sudo apt-get update && sudo apt-get install build-essential cmake libeigen3-dev libboost-all-dev -y | ||
- name: build and test | ||
run: | | ||
mkdir -p build | ||
cd build && cmake .. && make unit_test && make test | ||
macOS_BigSur: | ||
runs-on: macos-11 | ||
strategy: | ||
max-parallel: 4 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Install required packages | ||
run: brew install eigen boost | ||
- name: build and test | ||
run: | | ||
mkdir -p build | ||
cd build && cmake .. && make unit_test && ./unit_test | ||
macOS_Monterey: | ||
runs-on: macos-12 | ||
strategy: | ||
max-parallel: 4 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Install required packages | ||
run: brew install eigen boost | ||
- name: build and test | ||
run: | | ||
mkdir -p build | ||
cd build && cmake .. && make unit_test && ./unit_test | ||
arch_linux: | ||
runs-on: ubuntu-latest | ||
container: archlinux:base-devel | ||
strategy: | ||
max-parallel: 4 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install required packages | ||
run: pacman -Syu cmake eigen boost tbb doxygen --noconfirm | ||
- name: build and test | ||
run: | | ||
mkdir -p build | ||
cd build && cmake .. && make unit_test && ./unit_test |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Update Doxygen | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
paths-ignore: | ||
- '.github/workflows/boosttest.yml' | ||
- 'doc/*' | ||
- 'examples/*' | ||
|
||
jobs: | ||
doxygen: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
max-parallel: 4 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: install_dependencies | ||
run: sudo apt-get update -y && sudo apt-get install build-essential libeigen3-dev libboost-all-dev cmake doxygen graphviz -y | ||
- name: build_doxygen | ||
run: | | ||
mkdir -p /tmp/build && cd /tmp/build | ||
cmake $OLDPWD && make doc | ||
- name: Deploy | ||
uses: peaceiris/actions-gh-pages@v4 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_branch: gh-pages | ||
publish_dir: /tmp/build/doc/html | ||
destination_dir: doxygen |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#include <unordered_map> | ||
|
||
#include <boost/graph/adjacency_list.hpp> | ||
|
||
#include "weighted_graph.hh" | ||
|
||
/*! | ||
|
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
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
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
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
This file was deleted.
Oops, something went wrong.