Skip to content

reshaped() to reshape a BinaryMatrix into another of different size, … #83

reshaped() to reshape a BinaryMatrix into another of different size, …

reshaped() to reshape a BinaryMatrix into another of different size, … #83

name: test-linux-gcc
on:
push:
branches: [ stable, develop ]
jobs:
build:
runs-on: ubuntu-latest
container:
image: alepalu/fdapde-docker-linux:latest
steps:
- name: checkout repository
uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: run_tests
run: |
cd test/
export Eigen3_DIR=/usr/share/cmake/Modules # reguired to let eigen3 work with CMake in alpine
chmod +x run_tests.sh
./run_tests.sh --compiler gcc
echo "TEST_RESULT=$(echo $?)" >> $GITHUB_ENV
- name: check_tests_passed
run: |
if [ "$TEST_RESULT" -eq "0" ]; then
exit 0
else
exit 1
fi