Skip to content

Commit

Permalink
CI: also test clang and g++ compilers on Ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
HiGarfield committed Jan 21, 2025
1 parent 759298c commit 26e2a1c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,16 @@ jobs:
else
export CFLAGS="$CFLAGS -I../fortify-headers -D_FORTIFY_SOURCE=3 -DFORTIFY_PEDANTIC_CHECKS -O3"
fi
if [[ "${{ matrix.os }}" == ubuntu-* ]]; then
make CHECK=1 CC=clang
make clean
make CHECK=1 CC=g++
make clean
fi
make CHECK=1
sudo ./tests/process_iterator_test
random_file="$(mktemp $(printf 'X%.0s' $(seq 1 255)))"
cp ./tests/process_iterator_test ./tests/${random_file}
cp -f ./tests/process_iterator_test ./tests/${random_file}
echo "./tests/${random_file}"
sudo ./tests/${random_file}
Expand Down

0 comments on commit 26e2a1c

Please sign in to comment.