OXYGENHUB
◆ perf-6 retro-remote-debug-controller / .flow / jobs / build.sh
532 B · Bourne Again Shell (bash) · last changed ci: OxygenFlow pipeline, and Git's own files ignored 25 days ago source blame history raw
1
# The shared server (core/) as a consumer would compile it: C11, POSIX, every
2
# warning an error. Then the Python client and the conformance suite.
3
set -eu
4
out=$(mktemp -d)
5
gcc -std=c11 -D_POSIX_C_SOURCE=200809L -Wall -Wextra -Werror -O2 \
6
    -c core/retro_control.c -o "$out/retro_control.o"
7
echo "core/retro_control.c: compiled cleanly (C11, -Wall -Wextra -Werror)"
8
python3 -m py_compile client/emu_control.py conformance/conftest.py conformance/test_conformance.py
9
echo "client/ and conformance/: Python compiles"
10
rm -rf "$out"