Automated documentation update #1325
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: Continuous Integration Test | |
on: | |
workflow_dispatch: | |
push: | |
pull_request: | |
jobs: | |
ci_test: | |
strategy: | |
matrix: | |
os: [macos-latest] | |
node: [Release] | |
features: [Default] | |
runs-on: ${{matrix.os}} | |
steps: | |
- name: CPU Info | |
run: | | |
sysctl -n machdep.cpu.brand_string | |
sysctl -n machdep.cpu.features | |
(echo "Number of Cores:"; sysctl -n machdep.cpu.core_count) |tr '\n' '\t' && echo '' | |
- name: Git checkout | |
uses: actions/checkout@v1 | |
- name: Makedir | |
working-directory: ${{runner.workspace}}/asgard | |
run: cmake -E make_directory build | |
- name: Configure Default | |
if: ${{matrix.features == 'Default'}} | |
working-directory: ${{runner.workspace}}/asgard/build | |
run: cmake -DCMAKE_BUILD_TYPE=${{matrix.node}} -DASGARD_RECOMMENDED_DEFAULTS=ON -DASGARD_USE_PCH=ON -DASGARD_PRECISIONS=double ../ | |
- name: Build | |
working-directory: ${{runner.workspace}}/asgard/build | |
run: make -j VERBOSE=1 | |
- name: Test | |
working-directory: ${{runner.workspace}}/asgard/build | |
run: make test | |
- name: Show Log | |
if: failure() | |
working-directory: ${{runner.workspace}}/asgard/build/Testing/Temporary | |
run: cat LastTest.log |