test gitea action
Some checks failed
Build LaTeX on Host / build (push) Has been cancelled

This commit is contained in:
2025-07-21 13:45:35 +08:00
parent 2102936388
commit 27c4fa6d0e
4 changed files with 28 additions and 1 deletions

View File

@@ -0,0 +1,25 @@
name: Build LaTeX on Host
on: [push]
jobs:
build:
# Tell Gitea to use your host runner
runs-on: self-hosted
steps:
- name: Check out the repository
uses: actions/checkout@v4
- name: Compile LaTeX using local TeX Live
# These commands run directly in your machine's shell
run: |
echo "Compiling document..."
latexmk distribution.tex
latexmk Notes_SODA23.tex
latexmk SDP.tex
- name: Upload PDF artifact
uses: actions/upload-artifact@v3
with:
name: distribution.pdf
path: distribution.pdf

2
.gitignore vendored
View File

@@ -1,6 +1,6 @@
.vscode/
.ds_store
/*.pdf
## Core latex/pdflatex auxiliary files:
*.aux
*.lof

Binary file not shown.

View File

@@ -60,4 +60,6 @@ One thing we can try is to tighten the second line.
Recall that for each dimension $i$ a random subset $S_i\subset X$ is selected and the value of $f_i(x)$ is $\min_{s\in S_i} d(x,s)$.
We want to show that for any fixed $x,y\in X$ and any dimension $i$ the event that distance $|f_i(x)-f_i(y)|^2$ is much smaller than $d(x,y)^2$ happends with high probability.
Now consider a subset $S_i$ by sampling each node in $X$ iid with probability $2^{-i}$.
\end{document}