-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (37 loc) · 1.14 KB
/
build_and_test.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
34
35
36
37
38
39
name: Build and Test Project
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
types: [ opened, reopened, edited ]
workflow_dispatch:
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Copy AGREE Analysis Action
uses: actions/checkout@v4
with:
repository: loonwerks/AGREE-CI-Action
path: AGREE-CI-Action
- name: AGREE Analysis
id : agree
uses: ./AGREE-CI-Action
with:
project-name: AGREE-Toy-Example
component-to-analyze: Integer_Toy::top_level.Impl
analysis-strategy: single
- name: Get analysis timestamp
run: echo "Analysis timestamp is ${{ steps.agree.outputs.timestamp }}"
- name: Get analysis status
run: echo "Analysis status is ${{ steps.agree.outputs.status }}"
- name: Get analysis status-messages
run: echo "Analysis status messages are ${{ steps.agree.outputs.status-messages }}"
- name: Archive analysis results
uses: actions/upload-artifact@v4
with:
name: agree-analysis-report
path: AGREE_output.json
retention-days: 30