Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update documents.toml #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .ci/gen-workflow-files.nu
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env nu

use log *
use std log

# cd to git root
cd (git rev-parse --show-toplevel)
Expand Down Expand Up @@ -137,4 +137,4 @@ log info "saving nix-cachix workflow"
$cachix_workflow | to yaml | save --force .github/workflows/nix.yaml

log info "prettify generated yaml"
prettier -w .github/workflows/
prettier -w .github/workflows/
120 changes: 120 additions & 0 deletions .github/workflows/nix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,126 @@ jobs:
publish_dir: result/
publish_branch: pdf/2023-07-04-IAV
force_orphan: true
x86_64-linux---2023-07-10-FormosaRetreat:
name: Build x86_64-linux.2023-07-10-FormosaRetreat
runs-on:
- ubuntu-latest
needs: []
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
with:
name: rosenpass-slides
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Build
run: nix build .#packages.x86_64-linux.2023-07-10-FormosaRetreat --print-build-logs
- name: Deploy PDF artifacts
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: result/
publish_branch: pdf/2023-07-10-FormosaRetreat
force_orphan: true
x86_64-linux---2023-09-03-MRMCD2023:
name: Build x86_64-linux.2023-09-03-MRMCD2023
runs-on:
- ubuntu-latest
needs: []
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
with:
name: rosenpass-slides
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Build
run: nix build .#packages.x86_64-linux.2023-09-03-MRMCD2023 --print-build-logs
- name: Deploy PDF artifacts
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: result/
publish_branch: pdf/2023-09-03-MRMCD2023
force_orphan: true
x86_64-linux---2024-03-01-ptfDemoDay:
name: Build x86_64-linux.2024-03-01-ptfDemoDay
runs-on:
- ubuntu-latest
needs: []
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
with:
name: rosenpass-slides
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Build
run: nix build .#packages.x86_64-linux.2024-03-01-ptfDemoDay --print-build-logs
- name: Deploy PDF artifacts
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: result/
publish_branch: pdf/2024-03-01-ptfDemoDay
force_orphan: true
x86_64-linux---2024-08-29-hackmas:
name: Build x86_64-linux.2024-08-29-hackmas
runs-on:
- ubuntu-latest
needs: []
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
with:
name: rosenpass-slides
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Build
run: nix build .#packages.x86_64-linux.2024-08-29-hackmas --print-build-logs
- name: Deploy PDF artifacts
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: result/
publish_branch: pdf/2024-08-29-hackmas
force_orphan: true
x86_64-linux---2024-09-20-eacn:
name: Build x86_64-linux.2024-09-20-eacn
runs-on:
- ubuntu-latest
needs: []
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v22
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
with:
name: rosenpass-slides
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Build
run: nix build .#packages.x86_64-linux.2024-09-20-eacn --print-build-logs
- name: Deploy PDF artifacts
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: result/
publish_branch: pdf/2024-09-20-eacn
force_orphan: true
x86_64-linux---check:
name: Run Nix checks on x86_64-linux
runs-on:
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.direnv/
flake.lock
6 changes: 3 additions & 3 deletions 2024-08-29-hackmas/latexmkrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
$pdf_mode=4;
$lualatex = 'lualatex -shell-escape';

# ensure_path('TEXINPUTS','../tex/');
# ensure_path('LUAINPUTS','../tex/');
# ensure_path('OSFONTDIR', '../tex/');
ensure_path('TEXINPUTS','../tex/');
ensure_path('LUAINPUTS','../tex/');
ensure_path('OSFONTDIR', '../tex/');

@default_files=("*slides*.tex");
6 changes: 3 additions & 3 deletions 2024-09-20-eacn/latexmkrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
$pdf_mode=4;
$lualatex = 'lualatex -shell-escape';

# ensure_path('TEXINPUTS','../tex/');
# ensure_path('LUAINPUTS','../tex/');
# ensure_path('OSFONTDIR', '../tex/');
ensure_path('TEXINPUTS','../tex/');
ensure_path('LUAINPUTS','../tex/');
ensure_path('OSFONTDIR', '../tex/');

@default_files=("*slides*.tex");
15 changes: 15 additions & 0 deletions documents.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,18 @@ video = "https://media.ccc.de/v/eh20-4-rosenpass-ein-vpn-zum-schutz-vor-quantenc

[[documents]]
name = "2023-07-04-IAV"

[[documents]]
name = "2023-07-10-FormosaRetreat"

[[documents]]
name = "2023-09-03-MRMCD2023"

[[documents]]
name = "2024-03-01-ptfDemoDay"

[[documents]]
name = "2024-08-29-hackmas"

[[documents]]
name = "2024-09-20-eacn"
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
sourceRoot = "./${name}";
nativeBuildInputs = with pkgs; [
google-fonts
python3Packages.pygments
tex
];
buildPhase = ''
Expand Down
Loading