Skip to content

Commit dc2d7e7

Browse files
author
Bartłomiej Rasztabiga
committed
Initial commit
0 parents  commit dc2d7e7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+2362
-0
lines changed

.DS_Store

6 KB
Binary file not shown.

.github/.DS_Store

6 KB
Binary file not shown.

.github/ISSUE_TEMPLATE/bug_report.md

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: "`"
5+
labels: bug
6+
assignees: ArturB, pwozniak, Alek96
7+
8+
---
9+
10+
**Opis problemu**
11+
Na czym polega błąd?
12+
13+
**Kod źródłowy**
14+
Tutaj wklej fragment kodu LaTeXa, który sprawia problem.
15+
```
16+
......
17+
```
18+
19+
**Screenshoty**
20+
Koniecznie wklej zrzuty ekranu przedstawiające błąd.
21+
22+
**Informacje nt. środowiska**
23+
- [ ] Overleaf
24+
- [ ] Windows MikTeX
25+
- [ ] Windows TexLive
26+
- [ ] Linux
27+
28+
**Kompilator**
29+
- [ ] pdfTeX
30+
- [ ] LuaTeX
31+
- [ ] XeTeX
32+
33+
**Pozostałe**
34+
Dodatkowy kontekst i informacje.
+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: enhancement
6+
assignees: ArturB, pwozniak, Alek96
7+
8+
---
9+
10+
**Opis proponowanej zmiany**
11+
Co powinniśmy w szablonie dodać, usunąć lub zmienić? Dlaczego?
12+
13+
**Alternatywy**
14+
Czy są jakieś inne rozwiązania/obejścia? Dlaczego są gorsze od Twojej propozycji?
15+
16+
**Pozostałe**
17+
Inne informacje, które chcesz nam przekazać.

.github/PULL_REQUEST_TEMPLATE.md

Whitespace-only changes.

.github/workflows/main.yml

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test:
7+
runs-on: ubuntu-latest
8+
defaults:
9+
run:
10+
working-directory: ./docs
11+
strategy:
12+
matrix:
13+
compiler: ['lualatex', 'pdflatex']
14+
faculty: ['eiti', 'meil']
15+
lang: ['eng','pol']
16+
thesis: ['EngineerThesis', 'MasterThesis']
17+
fail-fast: false
18+
steps:
19+
- name: Install LaTeX dependencies
20+
run: |
21+
sudo apt-get install -y \
22+
biber \
23+
latexmk \
24+
python3-pip \
25+
texlive \
26+
texlive-bibtex-extra \
27+
texlive-fonts-extra \
28+
texlive-latex-extra \
29+
texlive-lang-polish \
30+
texlive-luatex \
31+
tex-gyre
32+
33+
- name: Checkout WUT-Thesis repository
34+
uses: actions/checkout@v2
35+
36+
- name: Install Python dependencies
37+
run: sudo pip install -r requirements.txt
38+
39+
- name: Generate test cases
40+
run: scons generate_tests
41+
42+
- name: Generate PDF file
43+
run: cp test/${{matrix.lang}}/${{matrix.faculty}}/${{matrix.thesis}}.textest main.tex && scons all
44+
45+
- name: Verify build with referential text
46+
run: |
47+
scons test pdf=build/pdfs/${{matrix.compiler}}.pdf \
48+
ref=test/${{matrix.lang}}/${{matrix.faculty}}/${{matrix.thesis}}_${{matrix.compiler}}.txt

docs/.DS_Store

6 KB
Binary file not shown.

docs/.gitignore

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
build
2+
test/**/*.textest
3+
test/**/*.pdf
4+
.sconsign.dblite
5+
.vscode
6+
/*.pdf

0 commit comments

Comments
 (0)