Add file for non-recursive merge sort (#730)

* Add file for non-recursive merge sort

Add the source file (sorting/non_recursive_merge_sort.cpp) which defines the function template "non_recursive_merge_sort" in different forms, along with a helper function merge. Moreover, it creates 2 additional files, doxy.txt for Doxygen configuration, and a makefile to automate building, testing and cleaning.

* Add file for non-recursive merge sort

Add the source file (sorting/non_recursive_merge_sort.cpp) which defines the function template "non_recursive_merge_sort" in different forms, along with a helper function merge. Moreover, it creates 2 additional files, doxy.txt for Doxygen configuration, and a makefile to automate building, testing and cleaning.

* GitHub Action to cd sorting ; make doc ; make doc

* updating DIRECTORY.md

* Fix indentation error

* uses: mattnotmitt/doxygen-action@master

* doxyfile-path: 'sorting/'

* doxyfile-path: 'sorting/doxy.txt'

* working-directory: '.'

* Update sorting_non_recursive_merge_sort.yml

* Update sorting_non_recursive_merge_sort.yml

* Update sorting_non_recursive_merge_sort.yml

* Publish HTML to GitHub Pages

* Update sorting_non_recursive_merge_sort.yml

Co-authored-by: Christian Clauss <cclauss@me.com>
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
Musab Albirair
2020-04-25 18:16:42 +03:00
committed by GitHub
parent ef87e98b3d
commit 49871c7f2f
5 changed files with 522 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
name: sorting_non_recursive_merge_sort
on:
pull_request:
push:
# branches: [master]
jobs:
sorting_non_recursive_merge_sort:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: mattnotmitt/doxygen-action@master
with:
working-directory: 'sorting/'
doxyfile-path: 'doxy.txt'
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./sorting/html
enable_jekyll: true
- run: |
cd sorting
make test