fix(ia/forker): forker handle survive #629
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: epitech coding style | |
on: | |
push: | |
env: | |
EXECUTABLES: "zappy_server,zappy_ai,zappy_gui" | |
jobs: | |
check_executables: | |
runs-on: ubuntu-latest | |
container: | |
image: epitechcontent/epitest-docker:latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- name: Execute the project with make cmd | |
run: | | |
make | |
SPLIT_EXECUTABLES=$(echo $EXECUTABLES | tr "," "\n") | |
for EXECUTABLE in $SPLIT_EXECUTABLES; do | |
if [[ ! -f $EXECUTABLE ]]; then | |
echo "::error title=This executable was not found $EXECUTABLE::" | |
exit 1 | |
fi | |
done |