-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from fmoessbauer/feat-cleanup
Major cleanup and re-structuring
- Loading branch information
Showing
41 changed files
with
221 additions
and
422 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 |
---|---|---|
@@ -1,43 +1,59 @@ | ||
version: 2 | ||
jobs: | ||
build_gcc: | ||
docker: | ||
- image: thoughton/gcc-cmake:latest | ||
steps: | ||
- checkout | ||
- run: git submodule update --init --recursive --remote | ||
- run: bash build.sh | ||
- run: ./build/test/LibMVC-test data/frb30-15-mis/frb30-15-1.mis 420 450 10 | ||
coverage: | ||
docker: | ||
- image: thoughton/gcc-cmake:latest | ||
- image: ubuntu:latest | ||
steps: | ||
- run: apt update && apt install lcov gcovr -y | ||
- run: apt update && apt install git curl build-essential ninja-build meson lcov gcovr -y | ||
- checkout | ||
- run: git submodule update --init --recursive --remote | ||
- run: bash build.cov.sh | ||
- run: cd build.cov && make LibMVC-test-coverage | ||
- run: meson -Db_coverage=true build.cov | ||
- run: cd build.cov && ninja | ||
- run: cd build.cov && ninja test | ||
- run: cd build.cov && ninja coverage-xml | ||
- run: bash <(curl -s https://codecov.io/bash) | ||
- store_artifacts: | ||
path: build.cov/LibMVC-test-coverage.xml | ||
path: build.cov/build.cov/meson-logs/coverage.xml | ||
prefix: coverage | ||
meson: | ||
- store_artifacts: | ||
path: build.cov/meson-logs | ||
|
||
gcc: | ||
docker: | ||
- image: ubuntu:latest | ||
steps: | ||
- run: apt update && apt install git build-essential ninja-build meson -y | ||
- checkout | ||
- run: git submodule update --init --recursive --remote | ||
- run: meson build | ||
- run: meson build --warnlevel 3 --werror --prefix=/opt/libmvc | ||
- run: cd build && ninja | ||
- run: cd build && ninja test | ||
- run: cd build && ninja benchmark | ||
# install and run standalone solvers | ||
- run: cd build && ninja install | ||
- run: /opt/libmvc/bin/NuMVC-standalone data/frb30-15-mis/frb30-15-1.mis 420 100 | ||
- run: /opt/libmvc/bin/FastVC-standalone data/frb30-15-mis/frb30-15-1.mis 420 100 | ||
- run: /opt/libmvc/bin/NuMVC-parallel-standalone data/frb30-15-mis/frb30-15-1.mis 420 100 | ||
- run: /opt/libmvc/bin/FastVC-parallel-standalone data/frb30-15-mis/frb30-15-1.mis 420 100 | ||
- store_artifacts: | ||
path: build/meson-logs | ||
|
||
clang: | ||
docker: | ||
- image: ubuntu:latest | ||
steps: | ||
- run: apt update && apt install git clang-6.0 ninja-build meson -y | ||
- checkout | ||
- run: CXX=clang++-6.0 meson build --warnlevel 3 --werror | ||
- run: cd build && ninja | ||
- run: cd build && ninja test | ||
- run: cd build && ninja benchmark | ||
- store_artifacts: | ||
path: build/meson-logs | ||
|
||
workflows: | ||
version: 2 | ||
build_and_test: | ||
jobs: | ||
- build_gcc | ||
- coverage | ||
- meson | ||
- gcc | ||
- clang | ||
|
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,4 +1,3 @@ | ||
ignore: | ||
- "Lib.*/main.cpp$" | ||
- "ParallelSolverAdapter/main.cpp$" | ||
- "standalone/main.cpp$" | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.