fix: fix MacOS test launching

* Update makefile to use appropriate arguments to find executables on
  macos systems.
* Add `set -e` to make sure that the tests crash if something goes wrong
  in the build or test of the macos job of the CI.

closes #783
This commit is contained in:
Luis Montero
2022-11-24 14:14:10 +01:00
committed by Luis Montero
parent 3bade6603a
commit 30be8cf4ae
2 changed files with 12 additions and 2 deletions

View File

@@ -256,6 +256,7 @@ jobs:
# and will at least give minimum confidence that the compiler works in PRs
- name: Build
run: |
set -e
cd compiler
echo "Debug: ccache statistics (prior to the build):"
ccache -s
@@ -273,6 +274,7 @@ jobs:
- name: Test
if: github.event_name == 'push'
run: |
set -e
cd compiler
echo "Debug: ccache statistics (prior to the tests):"
ccache -s