Merge pull request #84 from avcopan/static-build #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: 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 |