scalapack use archive instead of git #178
This file contains 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: ci_build | |
env: | |
CTEST_NO_TESTS_ACTION: error | |
CMAKE_BUILD_PARALLEL_LEVEL: 4 | |
CTEST_PARALLEL_LEVEL: 0 | |
CMAKE_INSTALL_PREFIX: ~/libs | |
CMAKE_PREFIX_PATH: ~/libs | |
CMAKE_TLS_VERIFY: true | |
on: | |
push: | |
paths: | |
- "scripts/CMakeLists.txt" | |
- ".github/workflows/ci_build.yml" | |
jobs: | |
linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install prereqs | |
run: | | |
sudo apt update | |
sudo apt install --no-install-recommends libopenmpi-dev openmpi-bin | |
- name: configure | |
run: cmake --preset default | |
- name: build, test release | |
run: cmake --workflow --preset default | |
- run: cmake --install build | |
# builds fine on local machine | |
# - name: configure example | |
# run: cmake -S example -B example/build -DBUILD_SHARED_LIBS:BOOL=${{ matrix.shared }} | |
# - name: build example | |
# run: cmake --build example/build | |
# - name: test example | |
# run: ctest --test-dir example/build -V |