Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeiSa committed Jan 22, 2024
0 parents commit aabe913
Show file tree
Hide file tree
Showing 91 changed files with 27,963 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Auto detect text files and perform LF normalization
* text=auto
193 changes: 193 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,193 @@
name: Build LaTeX document

on:
push:
pull_request:
types:
- closed
branches:
- master



jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v2

- name: Compile LaTeX document Introduction
uses: xu-cheng/latex-action@master
with:
root_file: main.tex
working_directory: Slides/Introduction/

- name: Compile LaTeX document Stability
uses: xu-cheng/latex-action@master
with:
root_file: main.tex
working_directory: Slides/Stability/

- name: Compile LaTeX document Laplace
uses: xu-cheng/latex-action@master
with:
root_file: main.tex
working_directory: Slides/Laplace/

- name: Compile LaTeX document Bode
uses: xu-cheng/latex-action@master
with:
root_file: main.tex
working_directory: Slides/Bode/

- name: Compile LaTeX document Control
uses: xu-cheng/latex-action@master
with:
root_file: main.tex
working_directory: Slides/Control/

- name: Compile LaTeX document Discrete
uses: xu-cheng/latex-action@master
with:
root_file: main.tex
working_directory: Slides/Discrete/

- name: Compile LaTeX document LyapunovTheory
uses: xu-cheng/latex-action@master
with:
root_file: main.tex
working_directory: Slides/LyapunovTheory/

- name: Compile LaTeX document HJB_LQR
uses: xu-cheng/latex-action@master
with:
root_file: main.tex
working_directory: Slides/HJB_LQR/

- name: Compile LaTeX document Observer
uses: xu-cheng/latex-action@master
with:
root_file: main.tex
working_directory: Slides/Observer/

- name: Compile LaTeX document ControllabilityObservability
uses: xu-cheng/latex-action@master
with:
root_file: main.tex
working_directory: Slides/ControllabilityObservability/

- name: Compile LaTeX document Kalman
uses: xu-cheng/latex-action@master
with:
root_file: main.tex
working_directory: Slides/Kalman/

- name: Compile LaTeX document Linearization
uses: xu-cheng/latex-action@master
with:
root_file: main.tex
working_directory: Slides/Linearization/






- name: Save Introduction artifact
uses: actions/upload-artifact@v1
with:
name: Introduction.pdf
path: Slides/Introduction/main.pdf

- name: Save Stability artifact
uses: actions/upload-artifact@v1
with:
name: Stability.pdf
path: Slides/Stability/main.pdf

- name: Save Laplace artifact
uses: actions/upload-artifact@v1
with:
name: Laplace.pdf
path: Slides/Laplace/main.pdf

- name: Save Bode artifact
uses: actions/upload-artifact@v1
with:
name: Bode.pdf
path: Slides/Bode/main.pdf

- name: Save Control artifact
uses: actions/upload-artifact@v1
with:
name: Control.pdf
path: Slides/Control/main.pdf

- name: Save Discrete artifact
uses: actions/upload-artifact@v1
with:
name: Discrete.pdf
path: Slides/Discrete/main.pdf

- name: Save LyapunovTheory artifact
uses: actions/upload-artifact@v1
with:
name: LyapunovTheory.pdf
path: Slides/LyapunovTheory/main.pdf

- name: Save HJB_LQR artifact
uses: actions/upload-artifact@v1
with:
name: HJB_LQR.pdf
path: Slides/HJB_LQR/main.pdf

- name: Save Observer artifact
uses: actions/upload-artifact@v1
with:
name: Observer.pdf
path: Slides/Observer/main.pdf

- name: Save ControllabilityObservability artifact
uses: actions/upload-artifact@v1
with:
name: ControllabilityObservability.pdf
path: Slides/ControllabilityObservability/main.pdf

- name: Save Kalman artifact
uses: actions/upload-artifact@v1
with:
name: Kalman.pdf
path: Slides/Kalman/main.pdf

- name: Save Linearization artifact
uses: actions/upload-artifact@v1
with:
name: Linearization.pdf
path: Slides/Linearization/main.pdf



- name: Update compiled PDFs in git repository
if: github.event.pull_request.merged == true || github.event_name == 'push'
run: |
git config --global user.name 'CI PDF compiler'
git config --global user.email '<>'
git add Slides/Introduction/main.pdf
git add Slides/Stability/main.pdf
git add Slides/Laplace/main.pdf
git add Slides/Bode/main.pdf
git add Slides/Control/main.pdf
git add Slides/Discrete/main.pdf
git add Slides/LyapunovTheory/main.pdf
git add Slides/HJB_LQR/main.pdf
git add Slides/Observer/main.pdf
git add Slides/ControllabilityObservability/main.pdf
git add Slides/Kalman/main.pdf
git add Slides/Linearization/main.pdf
git commit -m "Update compiled PDFs"
git push
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*.gz
*.aux
*.log
*.out
*.nav
*.snm
*.toc
*.vrb
Loading

0 comments on commit aabe913

Please sign in to comment.