Refactor DeltaSpin, step 4: encapsulate PW subspace cache in Subspace… #1411
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: Build Test | |
| on: | |
| push: | |
| pull_request: | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| include: | |
| - tag: intel | |
| build_args: "CXX=mpiicpx ELPA_LIB_DIR=/usr/local/lib ELPA_INCLUDE_DIR=/usr/local/include CEREAL_DIR=/usr/include/cereal OPENMP=ON" | |
| name: "Build with Makefile & Intel compilers" | |
| name: ${{ matrix.name }} | |
| container: ghcr.io/deepmodeling/abacus-${{ matrix.tag }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v7.0.1 | |
| - name: Build | |
| run: | | |
| export I_MPI_CXX=icpx | |
| chmod a+x generate_build_info.sh | |
| cd source | |
| mkdir build && cd build | |
| make -f ../Makefile -j2 ${{ matrix.build_args }} | |