This commit is contained in:
2026-04-02 19:40:41 +02:00
parent 3d0dd9e993
commit 2440002e28
+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