Commit 06a2a439 authored by Bas Lijnse's avatar Bas Lijnse

quickfix for broken ci-tests on macos. (only run the part that doesn't work on linux)

parent e355309b
Pipeline #36462 passed with stage
in 7 minutes and 31 seconds
......@@ -22,15 +22,17 @@ fi
)
#Try to compile all modules
errors="$(
cd Examples
find ../Libraries/ -name "*.dcl" -exec head -n 1 {} \; \
| sed 's/definition module //g' \
| xargs cpm project BasicAPIExamples.prj compile \
|& grep -Po '(?<=Error \[).*(?=\.icl.*)' \
| uniq)"
echo "$errors" >&2
[ -z "$errors" ]
if [ $(uname) = "Linux" ]; then
errors="$(
cd Examples
find ../Libraries/ -name "*.dcl" -exec head -n 1 {} \; \
| sed 's/definition module //g' \
| xargs cpm project BasicAPIExamples.prj compile \
|& grep -Po '(?<=Error \[).*(?=\.icl.*)' \
| uniq)"
echo "$errors" >&2
[ -z "$errors" ]
fi
#Try to compile everything
find . -name "*.prj.default" | while read f; do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment