isolated coeffwise type system, convertion from matrix algebra to coe… #8
This file contains hidden or 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: test-macos-clang | |
| on: | |
| push: | |
| branches: [ stable, develop ] | |
| jobs: | |
| build: | |
| runs-on: macos-15 | |
| steps: | |
| - name: checkout repository | |
| uses: actions/checkout@v2 | |
| with: | |
| submodules: 'recursive' | |
| - name: install_eigen | |
| run: | | |
| brew install eigen | |
| - name: run_tests | |
| run: | | |
| # simlink gcc-15 as gcc | |
| mkdir -p "$HOME/bin" | |
| ln -s "$(command -v gcc-15)" "$HOME/bin/gcc" | |
| ln -s "$(command -v g++-15)" "$HOME/bin/g++" | |
| echo "$HOME/bin" >> $GITHUB_PATH | |
| cd tests/ | |
| chmod +x run_tests.sh | |
| ./run_tests.sh -c gcc | |
| echo "TEST_RESULT=$(echo $?)" >> $GITHUB_ENV | |
| - name: check_tests_passed | |
| run: | | |
| if [ "$TEST_RESULT" -eq "0" ]; then | |
| exit 0 | |
| else | |
| exit 1 | |
| fi |