Build(deps): Bump docker/login-action from 2 to 3 #342
Workflow file for this run
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: Integration Test and Unit Test | |
on: | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
jobs: | |
test: | |
name: Test | |
runs-on: self-hosted | |
if: github.repository_owner == 'deepmodeling' | |
container: ghcr.io/deepmodeling/abacus-gnu | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: "refs/pull/${{ github.event.number }}/merge" | |
- name: Build | |
run: | | |
cmake -B build -DBUILD_TESTING=ON -DENABLE_DEEPKS=ON -DENABLE_LIBXC=ON -DENABLE_LIBRI=ON | |
cmake --build build -j8 | |
cmake --install build | |
- name: Test | |
env: | |
GTEST_COLOR: 'yes' | |
OMP_NUM_THREADS: '2' | |
run: | | |
cmake --build build --target test ARGS="-V" |