forked from deepmodeling/abacus-develop
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 866 Bytes
/
dynamic.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Dynamic Analysis
on:
schedule:
- cron: '0 16 * * 0'
workflow_dispatch:
jobs:
test:
name: Dynamic analysis
runs-on: X64
if: github.repository_owner == 'deepmodeling'
container: ghcr.io/deepmodeling/abacus-gnu
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Building
run: |
cmake -B build -DENABLE_ASAN=1 -DENABLE_DEEPKS=1 -DENABLE_LIBXC=1
cmake --build build -j8
cmake --install build
- name: Testing
run: |
cd tests/integrate
bash Autotest.sh -n 2 -s true
- name: Publish Report to Dashboard
uses: crazy-max/ghaction-github-pages@v4
if: ${{ ! cancelled() }}
with:
target_branch: dashboard
build_dir: tests/html
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}