Skip to content

Commit

Permalink
Fix stupid Github CI
Browse files Browse the repository at this point in the history
Stupid Github CI make doesn't take environment variables into account.
We have to override them explicitly, hence the ridiculous CC="$CC".
  • Loading branch information
LoupVaillant committed Aug 28, 2023
1 parent 34c3ba8 commit 9109231
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ CFLAGS="-pedantic -Wall -Wextra -g -O2"

make clean; make tis-ci
make clean; make test
make clean; make test CFLAGS="$CFLAGS -DBLAKE2_NO_UNROLLING"
make clean; make test CFLAGS="$CFLAGS -fsanitize=address"
make clean; make test CFLAGS="$CFLAGS -fsanitize=memory"
make clean; make test CFLAGS="$CFLAGS -fsanitize=undefined"
make clean; make test CC="$CC" CFLAGS="$CFLAGS -DBLAKE2_NO_UNROLLING"
make clean; make test CC="$CC" CFLAGS="$CFLAGS -fsanitize=address"
make clean; make test CC="$CC" CFLAGS="$CFLAGS -fsanitize=memory"
make clean; make test CC="$CC" CFLAGS="$CFLAGS -fsanitize=undefined"
make clean; make test.out CC="gcc -std=c99"; valgrind ./test.out

echo
Expand Down

0 comments on commit 9109231

Please sign in to comment.