This commit is contained in:
@@ -6,18 +6,17 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: archlinux:latest
|
image: git.blackbucket.fr/lucas/arch-criterion:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Préparer l'environnement (NodeJS, Git, GCC, Criterion)
|
- name: Installation de l'env
|
||||||
# On installe TOUT avant de faire quoi que ce soit d'autre
|
|
||||||
run: pacman -Syu --noconfirm nodejs git gcc criterion
|
run: pacman -Syu --noconfirm nodejs git gcc criterion
|
||||||
|
|
||||||
- name: Récupérer le code
|
- name: Récupération du code
|
||||||
# Maintenant que Node et Git sont là, cette étape va fonctionner
|
# Maintenant que Node et Git sont là, cette étape va fonctionner
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Compiler les tests
|
- name: Compilation
|
||||||
run: >
|
run: >
|
||||||
gcc -Wall -Wextra
|
gcc -Wall -Wextra
|
||||||
-I./Chains_across_the_Island/Fundamentals/basics
|
-I./Chains_across_the_Island/Fundamentals/basics
|
||||||
@@ -26,5 +25,5 @@ jobs:
|
|||||||
tests/test_basics.c
|
tests/test_basics.c
|
||||||
-lcriterion
|
-lcriterion
|
||||||
|
|
||||||
- name: Exécuter les tests
|
- name: Tests
|
||||||
run: ./test
|
run: ./test
|
||||||
|
|||||||
Reference in New Issue
Block a user