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

Added LINFO1104 exam solution from 2020 until 2022 + Exam solution for Projet P3 2023 Juin #900

Open
wants to merge 25 commits into
base: master
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
65 changes: 65 additions & 0 deletions .github/workflows/main.yml
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
Copy link
Collaborator

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é par elif ?
Tu peux voir si le build a échoué avec $? ici

fi

if !($Done); then
ls
cd "$part"
Back=$Back"../"
fi
done

cd $Back
echo -e "\e[32m___FINISH COMPILE___\e[0m"
fi
done
14 changes: 8 additions & 6 deletions README.md
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]
Copy link
Collaborator

Choose a reason for hiding this comment

The 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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A priori le nom de domaine forum-epl.be est libre de ce que je vois.
image
Donc je suppose que c'est inutile de garder ce lien dans le README, à moins que quelqu'un ne le reprenne ?

Copy link
Collaborator

Choose a reason for hiding this comment

The 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
Expand Down Expand Up @@ -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
Binary file modified logo_ucl.pdf
Binary file not shown.
2 changes: 2 additions & 0 deletions src/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -148,3 +148,5 @@ name:
vehicle: Vehicle System Dynamics
mads: Modelling and analysis of dynamical systems
maths-discretes: Mathématiques discrètes et probabilité
info: Concepts des langages de programmation
projet: Projet P3
2 changes: 2 additions & 0 deletions src/q4/info-INFO1104/exam/2020/2020.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
YEAR=2020
include ../../../exam.mk
2 changes: 2 additions & 0 deletions src/q4/info-INFO1104/exam/2020/Juin/All/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
MINMAJ=All
include ../Juin.mk
Loading