-
Notifications
You must be signed in to change notification settings - Fork 220
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
Added LINFO1104 exam solution from 2020 until 2022 + Exam solution for Projet P3 2023 Juin #900
base: master
Are you sure you want to change the base?
Changes from all commits
544823d
804e41f
ee04a8d
96f793f
ea3b812
2dc5610
029e742
56c5630
611f4f2
ddcb6ca
a7c770e
fb205c9
689cd22
12bd864
b6650c7
c190090
7069013
76c35a5
06bf06e
cea2409
19bfa19
2954a97
f2b3dd8
7fe5b64
9a624ff
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: Compiling & Checking | ||
run-name: Compiling all files | ||
on: | ||
push: | ||
branches: | ||
- master | ||
- master_clean | ||
jobs: | ||
compiling: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
- name: Setting Up | ||
# Install textlive | ||
run: | | ||
sudo apt-get install texlive-latex-base | ||
sudo apt-get install texlive-fonts-recommended | ||
sudo apt-get install texlive-fonts-extra | ||
sudo apt-get install texlive-latex-extra | ||
sudo apt install texlive-lang-french | ||
- name: File Diff Check | ||
shell: bash | ||
id: check_file_changed | ||
run: | | ||
Diff=$(git diff --name-only HEAD^ HEAD) | ||
Pattern=".tex" | ||
# We can change the pattern easily | ||
|
||
echo $Diff | ||
|
||
for arg in $Diff; do | ||
echo $arg | ||
# If the file is a .tex | ||
if echo "$arg" | grep -q "$Pattern"; then | ||
echo -e "\e[32m___START COMPILE___\e[0m" | ||
|
||
IFS="/" | ||
read -ra parts <<< "$arg" | ||
IFS=" " | ||
|
||
# Going to the right directory | ||
Done=false | ||
|
||
Back="" | ||
for part in "${parts[@]}"; do | ||
if echo "$part" | grep -q "$Pattern"; then | ||
# Compile the document | ||
ls | ||
pdflatex "$part" | ||
Done=true | ||
fi | ||
|
||
if !($Done); then | ||
ls | ||
cd "$part" | ||
Back=$Back"../" | ||
fi | ||
done | ||
|
||
cd $Back | ||
echo -e "\e[32m___FINISH COMPILE___\e[0m" | ||
fi | ||
done |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# Synthèses de l'EPL | ||
|
||
| **Documentation** | **PDF** | **Chat** | **Forum** | **Git** | | ||
|:------------------:|:-------:|:--------:|:---------:|:-------:| | ||
| [<img src="https://cdn.pixabay.com/photo/2013/04/01/21/32/reading-99244_960_720.png" width="48">][doc-url] | [<img src="https://image.freepik.com/free-icon/pdf-file-format-symbol_318-45340.jpg" width="48">][pdf-url] | [![Join the chat at https://gitter.im/Gp2mv3/Syntheses](https://badges.gitter.im/Gp2mv3/Syntheses.svg)][chat-url] | [<img src="http://forum-epl.be/images/avatars/gallery/Photos/logo_phpBB.gif" width="96">][forum-url] | [<img src="https://gitforwindows.org/img/git_logo.png" width="48">][git-url] | ||
| **Documentation** | **PDF** | **Chat** |**Git** | **Build** | **Discord**| | ||
|:------------------:|:-------:|:--------:|:------:|:---------:|:----------:| | ||
| [<img src="https://cdn.pixabay.com/photo/2013/04/01/21/32/reading-99244_960_720.png" width="48">][doc-url] | [<img src="https://image.freepik.com/free-icon/pdf-file-format-symbol_318-45340.jpg" width="48">][pdf-url] | [![Join the chat at https://gitter.im/Gp2mv3/Syntheses](https://badges.gitter.im/Gp2mv3/Syntheses.svg)][chat-url] | [<img src="https://gitforwindows.org/img/git_logo.png" width="48">][git-url] | [<img src="https://github.com/Tfloow/Syntheses/actions/workflows/main.yml/badge.svg" width="128">][build-url] | [<img src="https://upload.wikimedia.org/wikipedia/fr/thumb/4/4f/Discord_Logo_sans_texte.svg/106px-Discord_Logo_sans_texte.svg.png?20210527094128" width="64">][discord-url] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. On peut ajouter discord et mais garder le forum-epl. Même si c'est des années antérieures, on peut y retrouver des sujets qui sont encore utiles. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Oui, je n'avais pas vu que le forum-epl était down :'( On peut le retirer du coup en effet |
||
|
||
Les documents présents sur ce repository sont des documents | ||
mis à disposition pour les étudiants de l'EPL. | ||
|
||
| | Current maintainers | | ||
|:-------:|:------------------- | | ||
| :star: | Pour le moment :bangbang: **aucun** :bangbang:, voir [Historique](#historique). | | ||
| | Current maintainers | | ||
| :-----: | :------------------------------------------------------------------------------------- | | ||
| :star: | Pour le moment :bangbang: **aucun** :bangbang:, voir [Historique](#historique). | | ||
| :beers: | Ne manquez pas de remercier gracieusement ces étudiants qui tiennent ce projet à flot! | | ||
|
||
## Visualisation des synthèses et correctifs | ||
|
@@ -86,3 +86,5 @@ Si cette license vous pose problème, venez en discuter en ouvrant une [issue](h | |
[chat-url]: https://gitter.im/Gp2mv3/Syntheses?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge | ||
[forum-url]: http://forum-epl.be | ||
[git-url]: https://try.github.io | ||
[build-url]: https://github.com/Tfloow/Syntheses/actions | ||
[discord-url]: https://discord.gg/WUuu38vtET |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
YEAR=2020 | ||
include ../../../exam.mk |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
MINMAJ=All | ||
include ../Juin.mk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pas sûr de ce qui est fait ici. est-ce que
if !($Done)
ne peut pas être remplacé parelif
?Tu peux voir si le build a échoué avec
$?
ici