Skip to content

Commit

Permalink
try new thing for the cds checker
Browse files Browse the repository at this point in the history
  • Loading branch information
Aldbg74 committed Apr 7, 2024
1 parent ed7de61 commit 68c0e75
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/chocolatine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,11 @@
uses: actions/checkout@v4 #vérif version
- name: Coding Style checker
run: | #voir si possible de réduire c moche
check.sh $(pwd) $(pwd)
while read Line; \
do \
ARG1=$(echo $Line | cut -d: -f1); \
ARG2=$(echo $Line | cut -d: -f2); \
ARG3=$(echo $Line | cut -d: -f3); \
ARG4=$(echo $Line | cut -d: -f4); \
echo "::error file=$ARG1, line=$ARG2:: $ARG3 $ARG4"; \
while IFS=':' read -r ARG1 ARG2 ARG3 ARG4 _; do
echo "::error file=$ARG1, line=$ARG2:: $ARG3 $ARG4"
done < coding-style-reports.log
if [ -s coding-style-reports.log ]; then
exit 1
if [[ -s coding-style-reports.log ]]; then
exit 1
fi
check_program_compilation:
Expand All @@ -40,7 +34,7 @@
uses: actions/checkout@v4 #vérif version
- name: Is Make Woking #previous Compile
run: make
timeout-minutes: 1 #on baisse un 1 ct 2 avant on va voir si sa merde et si on peut gangner du temps d'execution
timeout-minutes: 2 #on baisse un 1 ct 2 avant on va voir si sa merde et si on peut gangner du temps d'execution
- name: Clean useless files
run: make clean
- name: Check exe
Expand Down

0 comments on commit 68c0e75

Please sign in to comment.