From 9e2f6e3141f62abc642fedb2668dca7031c129b6 Mon Sep 17 00:00:00 2001 From: Jiacheng Xu <169599847+Stardust0831@users.noreply.github.com> Date: Wed, 5 Aug 2026 22:16:44 +0800 Subject: [PATCH 1/2] CI: use LTS container packages in tests --- .github/workflows/build_test_cmake.yml | 2 +- .github/workflows/build_test_makefile.yml | 2 +- .github/workflows/coverage.yml | 2 +- .github/workflows/cuda.yml | 2 +- .github/workflows/dynamic.yml | 2 +- .github/workflows/performance.yml | 2 +- .github/workflows/pytest.yml | 2 +- .github/workflows/test.yml | 2 +- .github/workflows/toolchain_full.yaml | 4 ++-- .github/workflows/toolchain_smoke.yaml | 2 +- 10 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build_test_cmake.yml b/.github/workflows/build_test_cmake.yml index f272c82dc9f..5ade420f95a 100644 --- a/.github/workflows/build_test_cmake.yml +++ b/.github/workflows/build_test_cmake.yml @@ -41,7 +41,7 @@ jobs: name: "Build without LCAO and MPI" name: ${{ matrix.name }} - container: ghcr.io/deepmodeling/abacus-${{ matrix.tag }} + container: ghcr.io/deepmodeling/abacus-${{ matrix.tag }}-lts steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/build_test_makefile.yml b/.github/workflows/build_test_makefile.yml index e2129a707f0..054ba77b18e 100644 --- a/.github/workflows/build_test_makefile.yml +++ b/.github/workflows/build_test_makefile.yml @@ -13,7 +13,7 @@ jobs: build_args: "CXX=mpiicpc 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 }} + container: ghcr.io/deepmodeling/abacus-${{ matrix.tag }}-lts steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 2e49b704706..eab82c4e205 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -9,7 +9,7 @@ jobs: test-coverage: name: Generate Coverage Report runs-on: X64 - container: ghcr.io/deepmodeling/abacus-gnu + container: ghcr.io/deepmodeling/abacus-gnu-lts steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/cuda.yml b/.github/workflows/cuda.yml index 3e2bf218a0f..626d71aa57f 100644 --- a/.github/workflows/cuda.yml +++ b/.github/workflows/cuda.yml @@ -14,7 +14,7 @@ jobs: runs-on: nvidia if: github.repository_owner == 'deepmodeling' container: - image: ghcr.io/deepmodeling/abacus-cuda + image: ghcr.io/deepmodeling/abacus-cuda-lts volumes: - /tmp/ccache:/github/home/.ccache options: --gpus all diff --git a/.github/workflows/dynamic.yml b/.github/workflows/dynamic.yml index 85cb13482ee..f9ccde61995 100644 --- a/.github/workflows/dynamic.yml +++ b/.github/workflows/dynamic.yml @@ -10,7 +10,7 @@ jobs: name: Dynamic analysis runs-on: X64 if: github.repository_owner == 'deepmodeling' - container: ghcr.io/deepmodeling/abacus-gnu + container: ghcr.io/deepmodeling/abacus-gnu-lts steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index 589a85e5845..e776d479371 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -10,7 +10,7 @@ jobs: strategy: matrix: tag: ["gnu", "intel"] - container: ghcr.io/deepmodeling/abacus-${{ matrix.tag }} + container: ghcr.io/deepmodeling/abacus-${{ matrix.tag }}-lts timeout-minutes: 2880 steps: - name: Checkout diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 0470d5f050f..ecc96df68dc 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -8,7 +8,7 @@ jobs: name: PyTest runs-on: ubuntu-latest container: - image: ghcr.io/deepmodeling/abacus-gnu + image: ghcr.io/deepmodeling/abacus-gnu-lts steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 458c94d5766..227f4499a76 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: runs-on: X64 if: github.repository_owner == 'deepmodeling' container: - image: ghcr.io/deepmodeling/abacus-gnu + image: ghcr.io/deepmodeling/abacus-gnu-lts volumes: - /tmp/ccache:/github/home/.ccache steps: diff --git a/.github/workflows/toolchain_full.yaml b/.github/workflows/toolchain_full.yaml index 3793b22eafb..ad8bc2fc7d3 100644 --- a/.github/workflows/toolchain_full.yaml +++ b/.github/workflows/toolchain_full.yaml @@ -13,7 +13,7 @@ jobs: if: contains(inputs.variants || 'gnu,intel,cuda', 'gnu') runs-on: X64 container: - image: ghcr.io/deepmodeling/abacus-gnu + image: ghcr.io/deepmodeling/abacus-gnu-lts steps: - name: Checkout uses: actions/checkout@v6 @@ -52,7 +52,7 @@ jobs: if: contains(inputs.variants || 'gnu,intel,cuda', 'intel') runs-on: X64 container: - image: ghcr.io/deepmodeling/abacus-intel + image: ghcr.io/deepmodeling/abacus-intel-lts steps: - name: Checkout uses: actions/checkout@v6 diff --git a/.github/workflows/toolchain_smoke.yaml b/.github/workflows/toolchain_smoke.yaml index 7bd2c9ca44a..728b3608d45 100644 --- a/.github/workflows/toolchain_smoke.yaml +++ b/.github/workflows/toolchain_smoke.yaml @@ -11,7 +11,7 @@ jobs: smoke-build-gnu: runs-on: X64 container: - image: ghcr.io/deepmodeling/abacus-gnu + image: ghcr.io/deepmodeling/abacus-gnu-lts defaults: run: shell: bash From db251707dc44a0c4ae3e16702f21464c6ee290e6 Mon Sep 17 00:00:00 2001 From: Jiacheng Xu <13862180016@163.com> Date: Mon, 24 Aug 2026 13:05:24 +0800 Subject: [PATCH 2/2] ci: rerun LTS container tests