33 push :
44 pull_request :
55
6+ defaults :
7+ run :
8+ shell : bash
9+
610jobs :
711 test :
812 runs-on : ubuntu-latest
@@ -13,29 +17,37 @@ jobs:
1317 build_args : " "
1418 name : " Build with GNU toolchain"
1519 - tag : intel
20+ external_toolchain_args : " --with-intel"
1621 build_args : " "
1722 name : " Build with Intel toolchain"
1823
1924 - tag : gnu
25+ external_toolchain_args : " "
2026 build_args : " -DENABLE_LIBXC=1 -DENABLE_MLALGO=1 -DENABLE_LIBRI=1"
2127 name : " Build extra components with GNU toolchain"
2228 - tag : intel
29+ external_toolchain_args : " --with-intel"
2330 build_args : " -DENABLE_LIBXC=1 -DENABLE_PEXSI=1 -DENABLE_MLALGO=1 -DENABLE_LIBRI=1"
2431 name : " Build extra components with Intel toolchain"
2532
2633 - tag : cuda
34+ external_toolchain_args : " "
2735 build_args : " -DUSE_CUDA=1"
2836 name : " Build with CUDA support"
2937 - tag : gnu
38+ external_toolchain_args : " "
3039 build_args : " -DENABLE_LCAO=0"
3140 name : " Build without LCAO"
3241 - tag : gnu
42+ external_toolchain_args : " "
3343 build_args : " -DUSE_ELPA=0 "
3444 name : " Build without ELPA"
3545 - tag : gnu
46+ external_toolchain_args : " "
3647 build_args : " -DENABLE_MPI=0"
3748 name : " Build without MPI"
3849 - tag : gnu
50+ external_toolchain_args : " "
3951 build_args : " -DENABLE_MPI=0 -DENABLE_LCAO=0"
4052 name : " Build without LCAO and MPI"
4153
4759 with :
4860 submodules : recursive
4961
62+ - name : Install external tools from toolchain
63+ run : |
64+ apt update && apt install -y xz-utils
65+ cd toolchain
66+ ./install_abacus_toolchain_new.sh --with-dftd4=install --dry-run ${{matrix.external_toolchain_args}}
67+ ./scripts/stage4/install_stage4.sh
68+ cd ..
69+
5070 - name : Build
5171 run : |
5272 git config --global --add safe.directory `pwd`
0 commit comments