Livl OS contains all the different labs exercice from Systems class
This project is developed in C language, so you need to have a C compiler installed on your machine. It would be better to run it on a Linux distribution, but it is possible to run it on Windows with the WSL (Windows Subsystem for Linux).
gcc
:sudo apt install gcc
make
:sudo apt install make
To install the WSL, follow this tutorial.
- In the root folder, go to the lab folder you want to use (ex:
cd 02-proc
) - Run
make
to compile the project - Run
./bin/<file>
to run the executable file generated by themake
command - Run
make clean
to clean the project
- Each lab is in a folder named
<lab-number>-<exercise-name>
- There are 6 labs in this project:
01-syscall_fs
: System calls and file system02-proc
: Process management03-threads
: Threads management04-signals
: Process and signals08-docker
: Handle Docker09-docker
: Master Docker
- Each lab folder contains the following structure (except for the
08-docker
and09-docker
labs):
<lab-number>-<exercise-name>
├── bin/
│ └── file
├── include/
│ └── file.h
├── src/
│ └── file.c
└── Makefile
- The pipeline is configured to run on each push and pull request on the
master
branch - The pipeline is iterating over each directory in the root folder and run the
make
command if aMakefile
is present - The pipeline is also running the
make clean
command to clean the project after themake
command
You can find the pipeline configuration in the
.github/workflows/c-make.yml
file.
@FranckG28 |
@jvondermarck |
---|---|
Franck Gutmann | Julien Von Der Marck |