Dynamic Analysis #629
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: Dynamic Analysis | |
on: | |
schedule: | |
- cron: '0 20 * * *' | |
workflow_dispatch: | |
jobs: | |
test: | |
name: Dynamic analysis | |
runs-on: self-hosted | |
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 -DBUILD_TESTING=ON -DENABLE_DEEPKS=1 -DENABLE_LIBXC=1 | |
cmake --build build -j16 | |
cmake --install build | |
- name: Testing | |
run: | | |
cmake --build build --target test ARGS="-V --timeout 21600" | |
- 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 }} |