Skip to content

Commit

Permalink
Add 'core/' from commit 'f6847163a68b81e97352d6e1ee489f4e0fdf7bd8'
Browse files Browse the repository at this point in the history
git-subtree-dir: core
git-subtree-mainline: e690962
git-subtree-split: f684716
  • Loading branch information
superrm11 committed Feb 26, 2024
2 parents e690962 + f684716 commit 68822fd
Show file tree
Hide file tree
Showing 107 changed files with 23,241 additions and 0 deletions.
81 changes: 81 additions & 0 deletions core/.github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
# This is a basic workflow to help you get started with Actions

name: Doxygen Action

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ main ]
workflow_dispatch:



# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2


- name: Install Dependencies
run: sudo apt-get install -y doxygen-latex poppler-utils



- name: Doxygen Action
uses: mattnotmitt/[email protected]
with:
# Path to Doxyfile
doxyfile-path: "./Doxyfile" # default is ./Doxyfile
# Working directory
working-directory: "." # default is .


- name: Generate Reference Manual
run: sudo make --directory=documentation/latex


- name: Copy file
uses: canastro/[email protected]
with:
source: "documentation/latex/refman.pdf"
target: "documentation/html/refman.pdf"

- name: Copy log
uses: canastro/[email protected]
with:
source: "documentation/latex/refman.log"
target: "documentation/html/refman.log"


- name: Get Notebook Link
shell: bash
run: |
echo "NOTEBOOK_URL=$(curl -s https://docs.google.com/document/d/1MXCeYx3YnUjLv4AaNY4qdkM84N3KkZn0HwgL6a-Di8U/export\?format\=pdf |grep HREF |sed -E "s|.*HREF=\"([^\"]*).*|\1|g")" >> "$GITHUB_ENV"
- name: Download Notebook
uses: wei/curl@master
with:
args: ${{ env.NOTEBOOK_URL }} --output documentation/html/notebook_top.pdf



- name: Concatenate Manual and Notebook
run: sudo pdfunite documentation/html/notebook_top.pdf documentation/html/refman.pdf documentation/html/notebook.pdf


- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# Default Doxyfile build documentation to html directory.
# Change the directory if changes in Doxyfile
publish_dir: ./documentation/html
17 changes: 17 additions & 0 deletions core/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Prerequisites
*.d

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Fortran module files
*.mod
*.smod

# Executables
*.exe
*.out
*.app
Loading

0 comments on commit 68822fd

Please sign in to comment.