Skip to content

Commit

Permalink
udpate deploy pipeline and resume
Browse files Browse the repository at this point in the history
  • Loading branch information
emekoi committed Oct 17, 2024
1 parent d3a73e9 commit daaaaf0
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 251 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ jobs:

- name: configure build
run: |
cabal configure -f 'ci' --constraint 'hakyll -watchServer -previewServer -checkExternal'
cabal configure --disable-tests --disable-benchmarks -f '+ci'
cabal build all --dry-run
- name: restore cached dependencies
uses: actions/cache/restore@v3
uses: actions/cache/restore@v4
id: cache
env:
key: ${{ runner.os }}-ghc-${{ steps.setup.outputs.ghc-version }}-cabal-${{ steps.setup.outputs.cabal-version }}
Expand All @@ -69,7 +69,7 @@ jobs:

# Cache dependencies already here, so that we do not have to rebuild them should the subsequent steps fail.
- name: save cached dependencies
uses: actions/cache/save@v3
uses: actions/cache/save@v4
# If we had an exact cache hit, trying to save the cache would error because of key clash.
if: steps.cache.outputs.cache-hit != 'true'
with:
Expand All @@ -78,7 +78,8 @@ jobs:

- name: build blog
run: |
cabal -j -O2 run -- blog build
cabal build all
cabal exec -- blog build -v Info
- name: build resume
uses: xu-cheng/latex-action@v3
Expand All @@ -89,10 +90,10 @@ jobs:
uses: actions/configure-pages@v4

- name: upload artifact
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
path: '_site/'

- name: deploy to github pages
id: deployment
uses: actions/deploy-pages@v3
uses: actions/deploy-pages@v4
3 changes: 0 additions & 3 deletions cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,3 @@ with-compiler: ghc-9.8

package *
split-sections: true

package warp
ghc-options: -ghcversion-file=/home/emekoi/.ghcup/ghc/9.8.2/lib/ghc-9.8.2/lib/x86_64-linux-ghc-9.8.2/rts-1.0.2/include/ghcversion.h
239 changes: 0 additions & 239 deletions cabal.project.freeze

This file was deleted.

5 changes: 5 additions & 0 deletions resume/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*
!*.tex
!*.sty
!latexmkrc
!.gitignore
8 changes: 8 additions & 0 deletions resume/latexmkrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@default_files = ('resume/resume.tex');
ensure_path('TEXINPUTS', './resume/');
$aux_dir = '_cache/tmp/';
# $out_dir = '_build/static/';
$pdf_mode = 1;
$pdflatex=q/pdflatex %O -shell-escape -halt-on-error %S/;
$pdf_update_method = 0;
$pdf_previewer = 'zathura';
11 changes: 8 additions & 3 deletions resume/resume.tex
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,14 @@
%==== Education ====%
\header{Education}
\begin{school}{California Institute of Technology}{Pasadena, CA}{3.4}{Sep 2021--June 2025}
% \item Programming Fundamentals, Methods, and Software Design (CS 1--4), Decidability and Tractability (CS 21), Algorithms (CS 38), Interactive Theorem Proving (CS 128), Programming Languages (CS 131), Compilers (CS 164), Computer Graphics Laboratory (CS 171)
% \item Programming Fundamentals, Methods, and Software Design (CS 1--4), Decidability and Tractability (CS 21), Algorithms (CS 38), Operating Systems (CS 124), Interactive Theorem Proving (CS 128), Programming Languages (CS 131), Compilers (CS 164), Computer Graphics Laboratory (CS 171)

% \item Decidability and Tractability (CS 21), Algorithms (CS 38), Interactive Theorem Proving (CS 128), Programming Languages (CS 131), Compilers (CS 164)
% \item Calculus and Linear Algebra (Ma 1), Differential Equations (Ma 2), Abstract Algebra (Ma 5), Discrete Math (Ma 6), Introduction to Geometry and Topology (Ma 109), Computability Theory (Ma 117), Graduate Probability (Ma 140)

\item Decidability and Tractability (CS 21), Algorithms (CS 38), Interactive Theorem Proving (CS 128), Programming Languages (CS 131), Compilers (CS 164)
\item Calculus and Linear Algebra (Ma 1), Differential Equations (Ma 2), Abstract Algebra (Ma 5), Discrete Math (Ma 6), Graduate Probability (Ma 140)
\item Calculus and Linear Algebra (Ma 1), Differential Equations (Ma 2), Abstract Algebra (Ma 5), Discrete Math (Ma 6), Computability Theory (Ma 117)

\end{school}

\header{Awards}
Expand All @@ -29,7 +34,7 @@
\header{Skills}
\begin{skill}{Programming Languages}
\begin{itemize}[nosep]
\item Haskell, OCaml, Coq, C, Agda, Java, Python, Rust, x86/x86\_64 Assembly, Lua, Zig, \LaTeX{}
\item Haskell, OCaml, Coq, C, Agda, Java, Python, x86/x86\_64 Assembly, Lua, Zig, \LaTeX{}
\end{itemize}
\end{skill}
\vspace{-8pt}
Expand Down

0 comments on commit daaaaf0

Please sign in to comment.