-
Notifications
You must be signed in to change notification settings - Fork 20
32 lines (30 loc) · 1.01 KB
/
build-ubuntu.yaml
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
name: Continuous Integration Test
on:
pull_request:
push:
workflow_dispatch:
jobs:
ci-test:
strategy:
matrix:
os: [ubuntu-22.04]
runs-on: ${{matrix.os}}
steps:
- name: Git checkout
uses: actions/checkout@v1
- name: Makedir
working-directory: ${{runner.workspace}}/asgard
run: cmake -E make_directory build
- name: Configure
working-directory: ${{runner.workspace}}/asgard/build
run: cmake -DCMAKE_BUILD_TYPE=${{matrix.node}} -DASGARD_RECOMMENDED_DEFAULTS=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