Hackmas: Background re. PQC #70
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Nix | |
permissions: | |
contents: write | |
on: | |
pull_request: null | |
push: | |
branches: | |
- main | |
jobs: | |
x86_64-linux---2023-04-08-easterhegg: | |
name: Build x86_64-linux.2023-04-08-easterhegg | |
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-04-08-easterhegg --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-04-08-easterhegg | |
force_orphan: true | |
x86_64-linux---2023-07-04-IAV: | |
name: Build x86_64-linux.2023-07-04-IAV | |
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-04-IAV --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-04-IAV | |
force_orphan: true | |
x86_64-linux---check: | |
name: Run Nix checks on x86_64-linux | |
runs-on: | |
- ubuntu-latest | |
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: Check | |
run: nix flake check . --print-build-logs |