Skip to content

Fix std::bad_alloc error by properly initializing Array memory #11

Fix std::bad_alloc error by properly initializing Array memory

Fix std::bad_alloc error by properly initializing Array memory #11

Workflow file for this run

name: C/C++ CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up C++ and Fortran
run: |
sudo apt-get update
sudo apt-get install -y g++ gfortran make cmake
- name: Install OpenBLAS
run: sudo apt-get install -y libopenblas-dev
- name: Configure CMake
run: |
mkdir build
cd build
cmake .. -DUSE_SYSTEM_LIBS=ON
- name: Build Project
run: |
cd build
make -j2 # Using 2 cores for the CI build