Skip to content
Draft
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
31 changes: 31 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: 2

updates:
# 1) GitHub Actions
- package-ecosystem: github-actions
directory: / # GitHub scans .github/workflows from here
schedule:
interval: weekly
day: monday
time: "03:00"
open-pull-requests-limit: 5
assignees: ["OlivierBBB", "letypequividelespoubelles"]
labels: ["dependencies", "github-actions"]
commit-message:
prefix: "deps(actions)"
include: "scope"
groups:
core-actions-minor-patch:
update-types: ["minor", "patch"]
patterns:
- "actions/*"
- "github/*"
third-party-actions-minor-patch:
update-types: ["minor", "patch"]
patterns:
- "*"
exclude-patterns:
- "actions/*"
- "github/*"
cooldown:
default-days: 7
48 changes: 34 additions & 14 deletions .github/workflows/compile.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,52 @@
name: Build & Upload the Specification

on:
push:
branches: [ main ]
workflow_dispatch:

permissions: {} # lock everything by default (least-privilege)

jobs:
archive-build-spec:
name: Build & Upload Specification PDF
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout
uses: actions/checkout@v6
with:
persist-credentials: false
- name: Install JetBrainsMono
run: mkdir JetBrainsMono
&& cd JetBrainsMono
&& wget https://download.jetbrains.com/fonts/JetBrainsMono-2.304.zip
&& unzip JetBrainsMono-2.304.zip
&& sudo mv fonts/ttf/*.ttf /usr/share/fonts/
&& cd -
- name: Install fontawesome
run: sudo apt-get install fonts-font-awesome
env:
JETBRAINS_MONO_SHA256: "6f6376c6ed2960ea8a963cd7387ec9d76e3f629125bc33d1fdcd7eb7012f7bbf"
run: |
wget -q --secure-protocol=TLSv1_2 https://download.jetbrains.com/fonts/JetBrainsMono-2.304.zip -O JetBrainsMono.zip
echo "${JETBRAINS_MONO_SHA256} JetBrainsMono.zip" | sha256sum -c
unzip -q JetBrainsMono.zip -d JetBrainsMono
sudo mv JetBrainsMono/fonts/ttf/*.ttf /usr/share/fonts/
rm -rf JetBrainsMono JetBrainsMono.zip
- name: Install system packages
run: |
sudo apt-get update
sudo apt-get install -y --fix-missing fonts-font-awesome texlive-full
- name: Install tectonic
run: curl --proto '=https' --tlsv1.2 -fsSL https://drop-sh.fullyjustified.net |sh
- name: Install lualatex
# run: sudo apt-get install texlive-latex-base && sudo apt install texlive-luatex && sudo apt-get install texlive-latex-extra
run: sudo apt-get update && sudo apt install texlive-full --fix-missing
env:
TECTONIC_VERSION: "0.15.0"
TECTONIC_SHA256: "875fbbc9ab48560d7776088c608e0beee49197b57ab4a2f6c5385b2c661c842f"
run: |
curl --proto '=https' --tlsv1.2 -fsSL \
"https://github.com/tectonic-typesetting/tectonic/releases/download/tectonic%40${TECTONIC_VERSION}/tectonic-${TECTONIC_VERSION}-x86_64-unknown-linux-gnu.tar.gz" \
-o tectonic.tar.gz
echo "${TECTONIC_SHA256} tectonic.tar.gz" | sha256sum -c
tar xzf tectonic.tar.gz
sudo install -m 755 tectonic /usr/local/bin/tectonic
rm tectonic.tar.gz tectonic
- name: Compile Specification
run: make ospec
- name: Upload the Specification
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: specification.pdf
path: spec/_all_spec.pdf
2 changes: 2 additions & 0 deletions .github/workflows/security-code-scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ on:
required: false
workflow_dispatch:

permissions: {} # lock everything by default (least-privilege)

jobs:
security-scan:
uses: MetaMask/action-security-code-scanner/.github/workflows/security-scan.yml@v2
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ recompile-%: lua_build
cd $* && tectonic -X compile _all_$*.tex

buildOnGithub-%: lua_build
cd $* && ../tectonic -X compile _all_$*.tex
cd $* && tectonic -X compile _all_$*.tex

alu: view-alu
blake: view-blake_data
Expand Down