This commit is contained in:
2026-04-02 16:54:02 +02:00
parent a87b015d99
commit 472e8cc8ec
3 changed files with 183 additions and 4 deletions
+28
View File
@@ -0,0 +1,28 @@
name: Tests Basics avec Criterion
on: [push]
jobs:
test:
runs-on: ubuntu-latest
container:
image: git.blackbucket.fr/lucas/epita_tp_c:latest
steps:
- name: installation de l'env
run: pacman -Syu --noconfirm nodejs git gcc criterion
- name: checkout
uses: actions/checkout@v4
- name: Compilation
run: >
gcc -Wall -Wextra
-I./Chains_across_the_Island/Fundamentals/basics
-o test
Chains_across_the_Island/Fundamentals/basics/basics.c
tests/test_basics.c
-lcriterion -fsanitize=address -g
- name: Tests
run: ./test